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).