From 8091a4baed93d25055968619cb837e75a61ac5db Mon Sep 17 00:00:00 2001 From: d60 <94234663+d60@users.noreply.github.com> Date: Sat, 20 Apr 2024 13:00:51 +0900 Subject: [PATCH] Add files via upload --- twikit/__init__.py | 2 +- twikit/client.py | 20 +------------------- twikit/twikit_async/client.py | 20 +------------------- 3 files changed, 3 insertions(+), 39 deletions(-) diff --git a/twikit/__init__.py b/twikit/__init__.py index f2da8e77..8c013163 100644 --- a/twikit/__init__.py +++ b/twikit/__init__.py @@ -6,7 +6,7 @@ A Python library for interacting with the Twitter API. """ -__version__ = '1.5.3' +__version__ = '1.5.4' from .client import Client from .community import (Community, CommunityCreator, CommunityMember, diff --git a/twikit/client.py b/twikit/client.py index ce664423..bab4212d 100644 --- a/twikit/client.py +++ b/twikit/client.py @@ -940,25 +940,7 @@ def create_tweet( If this option is set to True, tweets longer than 280 characters can be posted (Twitter Premium only). richtext_options : list[:class:`dict`], default=None - Options for decorating text (Twitter Premium only). Example: - .. code-block:: python - [ - { - 'from_index': 1, - 'to_index': 3, - 'richtext_types': [ - 'Bold', - ] - }, - { - 'from_index': 4, - 'to_index': 6, - 'richtext_types': [ - 'Bold', - 'Italic' - ] - } - ] + Options for decorating text (Twitter Premium only). edit_tweet_id : :class:`str` | None, default=None ID of the tweet to edit (Twitter Premium only). diff --git a/twikit/twikit_async/client.py b/twikit/twikit_async/client.py index 10701382..d5cc22cc 100644 --- a/twikit/twikit_async/client.py +++ b/twikit/twikit_async/client.py @@ -954,25 +954,7 @@ async def create_tweet( If this option is set to True, tweets longer than 280 characters can be posted (Twitter Premium only). richtext_options : list[:class:`dict`], default=None - Options for decorating text (Twitter Premium only). Example: - .. code-block:: python - [ - { - 'from_index': 1, - 'to_index': 3, - 'richtext_types': [ - 'Bold', - ] - }, - { - 'from_index': 4, - 'to_index': 6, - 'richtext_types': [ - 'Bold', - 'Italic' - ] - } - ] + Options for decorating text (Twitter Premium only). edit_tweet_id : :class:`str` | None, default=None ID of the tweet to edit (Twitter Premium only).