diff --git a/pyrogram/client/types/audio.py b/pyrogram/client/types/audio.py index eb50d2ed..51cec257 100644 --- a/pyrogram/client/types/audio.py +++ b/pyrogram/client/types/audio.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class Audio(Object): """This object represents an audio file to be treated as music by the Telegram clients. - Attributes: - ID: ``0xb0700006`` - Args: file_id (``str``): Unique identifier for this file. diff --git a/pyrogram/client/types/callback_query.py b/pyrogram/client/types/callback_query.py index 8f9347f9..63228f33 100644 --- a/pyrogram/client/types/callback_query.py +++ b/pyrogram/client/types/callback_query.py @@ -25,9 +25,6 @@ class CallbackQuery(Object): will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present. Exactly one of the fields data or game_short_name will be present. - Attributes: - ID: ``0xb0700024`` - Args: id (``str``): Unique identifier for this query. diff --git a/pyrogram/client/types/chat.py b/pyrogram/client/types/chat.py index 500f0031..1455bd0f 100644 --- a/pyrogram/client/types/chat.py +++ b/pyrogram/client/types/chat.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class Chat(Object): """This object represents a chat. - Attributes: - ID: ``0xb0700002`` - Args: id (``int``): Unique identifier for this chat. This number may be greater than 32 bits and some programming diff --git a/pyrogram/client/types/chat_member.py b/pyrogram/client/types/chat_member.py index 6c5a60dd..71267d27 100644 --- a/pyrogram/client/types/chat_member.py +++ b/pyrogram/client/types/chat_member.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class ChatMember(Object): """This object contains information about one member of a chat. - Attributes: - ID: ``0xb0700016`` - Args: user (:obj:`User `): Information about the user. diff --git a/pyrogram/client/types/chat_photo.py b/pyrogram/client/types/chat_photo.py index 667b5fbc..e5877309 100644 --- a/pyrogram/client/types/chat_photo.py +++ b/pyrogram/client/types/chat_photo.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class ChatPhoto(Object): """This object represents a chat photo. - Attributes: - ID: ``0xb0700015`` - Args: small_file_id (``str``): Unique file identifier of small (160x160) chat photo. This file_id can be used only for photo download. diff --git a/pyrogram/client/types/contact.py b/pyrogram/client/types/contact.py index 77ac07bf..f625120c 100644 --- a/pyrogram/client/types/contact.py +++ b/pyrogram/client/types/contact.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class Contact(Object): """This object represents a phone contact. - Attributes: - ID: ``0xb0700011`` - Args: phone_number (``str``): Contact's phone number. diff --git a/pyrogram/client/types/document.py b/pyrogram/client/types/document.py index 29feaf28..076c1934 100644 --- a/pyrogram/client/types/document.py +++ b/pyrogram/client/types/document.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class Document(Object): """This object represents a general file (as opposed to photos, voice messages and audio files). - Attributes: - ID: ``0xb0700007`` - Args: file_id (``str``): Unique file identifier. diff --git a/pyrogram/client/types/gif.py b/pyrogram/client/types/gif.py index 180d7d74..71e975f5 100644 --- a/pyrogram/client/types/gif.py +++ b/pyrogram/client/types/gif.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class GIF(Object): """This object represents a GIF file. - Attributes: - ID: ``0xb0700025`` - Args: file_id (``str``): Unique identifier for this file. diff --git a/pyrogram/client/types/location.py b/pyrogram/client/types/location.py index 28bbb851..1f5feb00 100644 --- a/pyrogram/client/types/location.py +++ b/pyrogram/client/types/location.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class Location(Object): """This object represents a point on the map. - Attributes: - ID: ``0xb0700012`` - Args: longitude (``float``): Longitude as defined by sender. diff --git a/pyrogram/client/types/message.py b/pyrogram/client/types/message.py index 81dbf1e0..ca095f1d 100644 --- a/pyrogram/client/types/message.py +++ b/pyrogram/client/types/message.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class Message(Object): """This object represents a message. - Attributes: - ID: ``0xb0700003`` - Args: message_id (``int``): Unique message identifier inside this chat. diff --git a/pyrogram/client/types/message_entity.py b/pyrogram/client/types/message_entity.py index a3d7a174..460da6e7 100644 --- a/pyrogram/client/types/message_entity.py +++ b/pyrogram/client/types/message_entity.py @@ -23,9 +23,6 @@ class MessageEntity(Object): """This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc. - Attributes: - ID: ``0xb0700004`` - Args: type (``str``): Type of the entity. diff --git a/pyrogram/client/types/messages.py b/pyrogram/client/types/messages.py index eefc945d..3b5b122f 100644 --- a/pyrogram/client/types/messages.py +++ b/pyrogram/client/types/messages.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class Messages(Object): """This object represent a chat's messages. - Attributes: - ID: ``0xb0700026`` - Args: total_count (``int``): Total number of messages the target chat has. diff --git a/pyrogram/client/types/photo_size.py b/pyrogram/client/types/photo_size.py index fa59acdd..7e9b3cba 100644 --- a/pyrogram/client/types/photo_size.py +++ b/pyrogram/client/types/photo_size.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class PhotoSize(Object): """This object represents one size of a photo or a file / sticker thumbnail. - Attributes: - ID: ``0xb0700005`` - Args: file_id (``str``): Unique identifier for this file. diff --git a/pyrogram/client/types/reply_markup/force_reply.py b/pyrogram/client/types/reply_markup/force_reply.py index 973b90f4..2d3cc98f 100644 --- a/pyrogram/client/types/reply_markup/force_reply.py +++ b/pyrogram/client/types/reply_markup/force_reply.py @@ -26,9 +26,6 @@ class ForceReply(Object): This can be extremely useful if you want to create user-friendly step-by-step interfaces without having to sacrifice privacy mode. - Attributes: - ID: ``0xb0700018`` - Args: selective (``bool``, *optional*): Use this parameter if you want to force reply from specific users only. Targets: diff --git a/pyrogram/client/types/reply_markup/inline_keyboard_button.py b/pyrogram/client/types/reply_markup/inline_keyboard_button.py index 4fc61ab9..001b105f 100644 --- a/pyrogram/client/types/reply_markup/inline_keyboard_button.py +++ b/pyrogram/client/types/reply_markup/inline_keyboard_button.py @@ -27,9 +27,6 @@ from pyrogram.api.types import ( class InlineKeyboardButton(Object): """This object represents one button of an inline keyboard. You must use exactly one of the optional fields. - Attributes: - ID: ``0xb0700019`` - Args: text (``str``): Label text on the button. diff --git a/pyrogram/client/types/reply_markup/inline_keyboard_markup.py b/pyrogram/client/types/reply_markup/inline_keyboard_markup.py index 74bc837e..c21fabab 100644 --- a/pyrogram/client/types/reply_markup/inline_keyboard_markup.py +++ b/pyrogram/client/types/reply_markup/inline_keyboard_markup.py @@ -25,9 +25,6 @@ from . import InlineKeyboardButton class InlineKeyboardMarkup(Object): """This object represents an inline keyboard that appears right next to the message it belongs to. - Attributes: - ID: ``0xb0700020`` - Args: inline_keyboard (List of List of :obj:`InlineKeyboardButton `): Array of button rows, each represented by an Array of InlineKeyboardButton objects. diff --git a/pyrogram/client/types/reply_markup/keyboard_button.py b/pyrogram/client/types/reply_markup/keyboard_button.py index 832024e4..b9af3b46 100644 --- a/pyrogram/client/types/reply_markup/keyboard_button.py +++ b/pyrogram/client/types/reply_markup/keyboard_button.py @@ -27,9 +27,6 @@ class KeyboardButton(Object): For simple text buttons String can be used instead of this object to specify text of the button. Optional fields are mutually exclusive. - Attributes: - ID: ``0xb0700021`` - Args: text (``str``): Text of the button. If none of the optional fields are used, it will be sent as a message when diff --git a/pyrogram/client/types/reply_markup/reply_keyboard_markup.py b/pyrogram/client/types/reply_markup/reply_keyboard_markup.py index d37a310f..f6d42a2b 100644 --- a/pyrogram/client/types/reply_markup/reply_keyboard_markup.py +++ b/pyrogram/client/types/reply_markup/reply_keyboard_markup.py @@ -27,9 +27,6 @@ from . import KeyboardButton class ReplyKeyboardMarkup(Object): """This object represents a custom keyboard with reply options (see Introduction to bots for details and examples). - Attributes: - ID: ``0xb0700022`` - Args: keyboard (List of List of :obj:`KeyboardButton `): Array of button rows, each represented by an Array of KeyboardButton objects. diff --git a/pyrogram/client/types/reply_markup/reply_keyboard_remove.py b/pyrogram/client/types/reply_markup/reply_keyboard_remove.py index b73b5894..de32f740 100644 --- a/pyrogram/client/types/reply_markup/reply_keyboard_remove.py +++ b/pyrogram/client/types/reply_markup/reply_keyboard_remove.py @@ -26,9 +26,6 @@ class ReplyKeyboardRemove(Object): by a bot. An exception is made for one-time keyboards that are hidden immediately after the user presses a button (see ReplyKeyboardMarkup). - Attributes: - ID: ``0xb0700023`` - Args: selective (``bool``, *optional*): Use this parameter if you want to remove the keyboard for specific users only. Targets: diff --git a/pyrogram/client/types/sticker.py b/pyrogram/client/types/sticker.py index 6eb59990..a5ed9085 100644 --- a/pyrogram/client/types/sticker.py +++ b/pyrogram/client/types/sticker.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class Sticker(Object): """This object represents a sticker. - Attributes: - ID: ``0xb0700017`` - Args: file_id (``str``): Unique identifier for this file. diff --git a/pyrogram/client/types/update.py b/pyrogram/client/types/update.py index a8bd2044..edd5d85c 100644 --- a/pyrogram/client/types/update.py +++ b/pyrogram/client/types/update.py @@ -23,9 +23,6 @@ class Update(Object): """This object represents an incoming update. At most one of the optional parameters can be present in any given update. - Attributes: - ID: ``0xb0700000`` - Args: message (:obj:`Message `, *optional*): New incoming message of any kind — text, photo, sticker, etc. diff --git a/pyrogram/client/types/user.py b/pyrogram/client/types/user.py index beabf200..62e79e19 100644 --- a/pyrogram/client/types/user.py +++ b/pyrogram/client/types/user.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class User(Object): """This object represents a Telegram user or bot. - Attributes: - ID: ``0xb0700001`` - Args: id (``int``): Unique identifier for this user or bot. diff --git a/pyrogram/client/types/user_profile_photos.py b/pyrogram/client/types/user_profile_photos.py index c99e5d43..a9e8bcb1 100644 --- a/pyrogram/client/types/user_profile_photos.py +++ b/pyrogram/client/types/user_profile_photos.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class UserProfilePhotos(Object): """This object represent a user's profile pictures. - Attributes: - ID: ``0xb0700014`` - Args: total_count (``int``): Total number of profile pictures the target user has. diff --git a/pyrogram/client/types/venue.py b/pyrogram/client/types/venue.py index 49b46cd7..653f0dd3 100644 --- a/pyrogram/client/types/venue.py +++ b/pyrogram/client/types/venue.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class Venue(Object): """This object represents a venue. - Attributes: - ID: ``0xb0700013`` - Args: location (:obj:`Location `): Venue location. diff --git a/pyrogram/client/types/video.py b/pyrogram/client/types/video.py index e8bb2968..b4ffff2b 100644 --- a/pyrogram/client/types/video.py +++ b/pyrogram/client/types/video.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class Video(Object): """This object represents a video file. - Attributes: - ID: ``0xb0700008`` - Args: file_id (``str``): Unique identifier for this file. diff --git a/pyrogram/client/types/video_note.py b/pyrogram/client/types/video_note.py index cfbfdc79..2421436b 100644 --- a/pyrogram/client/types/video_note.py +++ b/pyrogram/client/types/video_note.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class VideoNote(Object): """This object represents a video message (available in Telegram apps as of v.4.0). - Attributes: - ID: ``0xb0700010`` - Args: file_id (``str``): Unique identifier for this file. diff --git a/pyrogram/client/types/voice.py b/pyrogram/client/types/voice.py index b55ad536..414d2267 100644 --- a/pyrogram/client/types/voice.py +++ b/pyrogram/client/types/voice.py @@ -22,9 +22,6 @@ from pyrogram.api.core import Object class Voice(Object): """This object represents a voice note. - Attributes: - ID: ``0xb0700009`` - Args: file_id (``str``): Unique identifier for this file.