mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2024-12-29 15:59:13 +01:00
Update content of files
This commit is contained in:
parent
22a2115ffd
commit
663b3b6e81
2 changed files with 464 additions and 136 deletions
|
@ -105,7 +105,7 @@ textEntity offset:int32 length:int32 type:TextEntityType = TextEntity;
|
||||||
textEntities entities:vector<textEntity> = TextEntities;
|
textEntities entities:vector<textEntity> = TextEntities;
|
||||||
|
|
||||||
//@description A text with some entities @text The text @entities Entities contained in the text. Entities can be nested, but must not mutually intersect with each other.
|
//@description A text with some entities @text The text @entities Entities contained in the text. Entities can be nested, but must not mutually intersect with each other.
|
||||||
//-Pre, Code and PreCode entities can't contain other entities. Bold, Italic, Underline, Strikethrough, and Spoiler entities can contain and can be part of any other entities. All other entities can't contain each other
|
//-Pre, Code and PreCode entities can't contain other entities. BlockQuote entities can't contain other BlockQuote entities. Bold, Italic, Underline, Strikethrough, and Spoiler entities can contain and can be part of any other entities. All other entities can't contain each other
|
||||||
formattedText text:string entities:vector<textEntity> = FormattedText;
|
formattedText text:string entities:vector<textEntity> = FormattedText;
|
||||||
|
|
||||||
|
|
||||||
|
@ -632,7 +632,7 @@ inputChatPhotoSticker sticker:chatPhotoSticker = InputChatPhoto;
|
||||||
|
|
||||||
|
|
||||||
//@description Describes actions that a user is allowed to take in a chat
|
//@description Describes actions that a user is allowed to take in a chat
|
||||||
//@can_send_basic_messages True, if the user can send text messages, contacts, invoices, locations, and venues
|
//@can_send_basic_messages True, if the user can send text messages, contacts, giveaways, invoices, locations, and venues
|
||||||
//@can_send_audios True, if the user can send music files
|
//@can_send_audios True, if the user can send music files
|
||||||
//@can_send_documents True, if the user can send documents
|
//@can_send_documents True, if the user can send documents
|
||||||
//@can_send_photos True, if the user can send photos
|
//@can_send_photos True, if the user can send photos
|
||||||
|
@ -683,6 +683,72 @@ premiumPaymentOption currency:string amount:int53 discount_percentage:int32 mont
|
||||||
//@last_transaction_id Identifier of the last in-store transaction for the currently used option
|
//@last_transaction_id Identifier of the last in-store transaction for the currently used option
|
||||||
premiumStatePaymentOption payment_option:premiumPaymentOption is_current:Bool is_upgrade:Bool last_transaction_id:string = PremiumStatePaymentOption;
|
premiumStatePaymentOption payment_option:premiumPaymentOption is_current:Bool is_upgrade:Bool last_transaction_id:string = PremiumStatePaymentOption;
|
||||||
|
|
||||||
|
//@description Describes an option for creating Telegram Premium gift codes
|
||||||
|
//@currency ISO 4217 currency code for Telegram Premium gift code payment
|
||||||
|
//@amount The amount to pay, in the smallest units of the currency
|
||||||
|
//@user_count Number of users which will be able to activate the gift codes
|
||||||
|
//@month_count Number of month the Telegram Premium subscription will be active
|
||||||
|
//@store_product_id Identifier of the store product associated with the option; may be empty if none
|
||||||
|
//@store_product_quantity Number of times the store product must be paid
|
||||||
|
premiumGiftCodePaymentOption currency:string amount:int53 user_count:int32 month_count:int32 store_product_id:string store_product_quantity:int32 = PremiumGiftCodePaymentOption;
|
||||||
|
|
||||||
|
//@description Contains a list of options for creating Telegram Premium gift codes @options The list of options
|
||||||
|
premiumGiftCodePaymentOptions options:vector<premiumGiftCodePaymentOption> = PremiumGiftCodePaymentOptions;
|
||||||
|
|
||||||
|
//@description Contains information about a Telegram Premium gift code
|
||||||
|
//@creator_id Identifier of a chat or a user that created the gift code
|
||||||
|
//@creation_date Point in time (Unix timestamp) when the code was created
|
||||||
|
//@is_from_giveaway True, if the gift code was created for a giveaway
|
||||||
|
//@giveaway_message_id Identifier of the corresponding giveaway message; can be 0 or an identifier of a deleted message
|
||||||
|
//@month_count Number of month the Telegram Premium subscription will be active after code activation
|
||||||
|
//@user_id Identifier of a user for which the code was created; 0 if none
|
||||||
|
//@use_date Point in time (Unix timestamp) when the code was activated; 0 if none
|
||||||
|
premiumGiftCodeInfo creator_id:MessageSender creation_date:int32 is_from_giveaway:Bool giveaway_message_id:int53 month_count:int32 user_id:int53 use_date:int32 = PremiumGiftCodeInfo;
|
||||||
|
|
||||||
|
|
||||||
|
//@class PremiumGiveawayParticipantStatus @description Contains information about status of a user in a Telegram Premium giveaway
|
||||||
|
|
||||||
|
//@description The user is eligible for the giveaway
|
||||||
|
premiumGiveawayParticipantStatusEligible = PremiumGiveawayParticipantStatus;
|
||||||
|
|
||||||
|
//@description The user participates in the giveaway
|
||||||
|
premiumGiveawayParticipantStatusParticipating = PremiumGiveawayParticipantStatus;
|
||||||
|
|
||||||
|
//@description The user can't participate in the giveaway, because they have already been member of the chat
|
||||||
|
//@joined_chat_date Point in time (Unix timestamp) when the user joined the chat
|
||||||
|
premiumGiveawayParticipantStatusAlreadyWasMember joined_chat_date:int32 = PremiumGiveawayParticipantStatus;
|
||||||
|
|
||||||
|
//@description The user can't participate in the giveaway, because they are an administrator in one of the chats that created the giveaway @chat_id Identifier of the chat administered by the user
|
||||||
|
premiumGiveawayParticipantStatusAdministrator chat_id:int53 = PremiumGiveawayParticipantStatus;
|
||||||
|
|
||||||
|
//@description The user can't participate in the giveaway, because they phone number is from a disallowed country @user_country_code A two-letter ISO 3166-1 alpha-2 country code of the user's country
|
||||||
|
premiumGiveawayParticipantStatusDisallowedCountry user_country_code:string = PremiumGiveawayParticipantStatus;
|
||||||
|
|
||||||
|
|
||||||
|
//@class PremiumGiveawayInfo @description Contains information about Telegram Premium giveaway
|
||||||
|
|
||||||
|
//@description Describes an ongoing giveaway
|
||||||
|
//@creation_date Point in time (Unix timestamp) when the giveaway was created
|
||||||
|
//@status Status of the current user in the giveaway
|
||||||
|
//@is_ended True, if the giveaway has ended and results are being prepared
|
||||||
|
premiumGiveawayInfoOngoing creation_date:int32 status:PremiumGiveawayParticipantStatus is_ended:Bool = PremiumGiveawayInfo;
|
||||||
|
|
||||||
|
//@description Describes a completed giveaway
|
||||||
|
//@creation_date Point in time (Unix timestamp) when the giveaway was created
|
||||||
|
//@actual_winners_selection_date Point in time (Unix timestamp) when the winners were selected. May be bigger than winners selection date specified in parameters of the giveaway
|
||||||
|
//@was_refunded True, if the giveaway was canceled and was fully refunded
|
||||||
|
//@winner_count Number of winners in the giveaway
|
||||||
|
//@activation_count Number of winners, which activated their gift codes
|
||||||
|
//@gift_code Telegram Premium gift code that was received by the current user; empty if the user isn't a winner in the giveaway
|
||||||
|
premiumGiveawayInfoCompleted creation_date:int32 actual_winners_selection_date:int32 was_refunded:Bool winner_count:int32 activation_count:int32 gift_code:string = PremiumGiveawayInfo;
|
||||||
|
|
||||||
|
|
||||||
|
//@description Contains information about supported accent color for user/chat name, background of empty chat photo, replies to messages and link previews
|
||||||
|
//@id Accent color identifier
|
||||||
|
//@built_in_accent_color_id Identifier of a built-in color to use in places, where only one color is needed; 0-6
|
||||||
|
//@light_theme_colors The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in light themes
|
||||||
|
//@dark_theme_colors The list of 1-3 colors in RGB format, describing the accent color, as expected to be shown in dark themes
|
||||||
|
accentColor id:int32 built_in_accent_color_id:int32 light_theme_colors:vector<int32> dark_theme_colors:vector<int32> = AccentColor;
|
||||||
|
|
||||||
//@description Describes a custom emoji to be shown instead of the Telegram Premium badge
|
//@description Describes a custom emoji to be shown instead of the Telegram Premium badge
|
||||||
//@custom_emoji_id Identifier of the custom emoji in stickerFormatTgs format
|
//@custom_emoji_id Identifier of the custom emoji in stickerFormatTgs format
|
||||||
|
@ -708,6 +774,8 @@ usernames active_usernames:vector<string> disabled_usernames:vector<string> edit
|
||||||
//@phone_number Phone number of the user
|
//@phone_number Phone number of the user
|
||||||
//@status Current online status of the user
|
//@status Current online status of the user
|
||||||
//@profile_photo Profile photo of the user; may be null
|
//@profile_photo Profile photo of the user; may be null
|
||||||
|
//@accent_color_id Identifier of the accent color for name, and backgrounds of profile photo, reply header, and link preview
|
||||||
|
//@background_custom_emoji_id Identifier of a custom emoji to be shown on the reply header background; 0 if none. For Telegram Premium users only
|
||||||
//@emoji_status Emoji status to be shown instead of the default Telegram Premium badge; may be null. For Telegram Premium users only
|
//@emoji_status Emoji status to be shown instead of the default Telegram Premium badge; may be null. For Telegram Premium users only
|
||||||
//@is_contact The user is a contact of the current user
|
//@is_contact The user is a contact of the current user
|
||||||
//@is_mutual_contact The user is a contact of the current user and the current user is a contact of the user
|
//@is_mutual_contact The user is a contact of the current user and the current user is a contact of the user
|
||||||
|
@ -724,7 +792,7 @@ usernames active_usernames:vector<string> disabled_usernames:vector<string> edit
|
||||||
//@type Type of the user
|
//@type Type of the user
|
||||||
//@language_code IETF language tag of the user's language; only available to bots
|
//@language_code IETF language tag of the user's language; only available to bots
|
||||||
//@added_to_attachment_menu True, if the user added the current bot to attachment menu; only available to bots
|
//@added_to_attachment_menu True, if the user added the current bot to attachment menu; only available to bots
|
||||||
user id:int53 first_name:string last_name:string usernames:usernames phone_number:string status:UserStatus profile_photo:profilePhoto emoji_status:emojiStatus is_contact:Bool is_mutual_contact:Bool is_close_friend:Bool is_verified:Bool is_premium:Bool is_support:Bool restriction_reason:string is_scam:Bool is_fake:Bool has_active_stories:Bool has_unread_active_stories:Bool have_access:Bool type:UserType language_code:string added_to_attachment_menu:Bool = User;
|
user id:int53 first_name:string last_name:string usernames:usernames phone_number:string status:UserStatus profile_photo:profilePhoto accent_color_id:int32 background_custom_emoji_id:int64 emoji_status:emojiStatus is_contact:Bool is_mutual_contact:Bool is_close_friend:Bool is_verified:Bool is_premium:Bool is_support:Bool restriction_reason:string is_scam:Bool is_fake:Bool has_active_stories:Bool has_unread_active_stories:Bool have_access:Bool type:UserType language_code:string added_to_attachment_menu:Bool = User;
|
||||||
|
|
||||||
|
|
||||||
//@description Contains information about a bot
|
//@description Contains information about a bot
|
||||||
|
@ -924,6 +992,7 @@ inviteLinkChatTypeChannel = InviteLinkChatType;
|
||||||
//@type Type of the chat
|
//@type Type of the chat
|
||||||
//@title Title of the chat
|
//@title Title of the chat
|
||||||
//@photo Chat photo; may be null
|
//@photo Chat photo; may be null
|
||||||
|
//@accent_color_id Identifier of the accent color for chat title and background of chat photo
|
||||||
//@param_description Chat description
|
//@param_description Chat description
|
||||||
//@member_count Number of members in the chat
|
//@member_count Number of members in the chat
|
||||||
//@member_user_ids User identifiers of some chat members that may be known to the current user
|
//@member_user_ids User identifiers of some chat members that may be known to the current user
|
||||||
|
@ -932,7 +1001,7 @@ inviteLinkChatTypeChannel = InviteLinkChatType;
|
||||||
//@is_verified True, if the chat is verified
|
//@is_verified True, if the chat is verified
|
||||||
//@is_scam True, if many users reported this chat as a scam
|
//@is_scam True, if many users reported this chat as a scam
|
||||||
//@is_fake True, if many users reported this chat as a fake account
|
//@is_fake True, if many users reported this chat as a fake account
|
||||||
chatInviteLinkInfo chat_id:int53 accessible_for:int32 type:InviteLinkChatType title:string photo:chatPhotoInfo description:string member_count:int32 member_user_ids:vector<int53> creates_join_request:Bool is_public:Bool is_verified:Bool is_scam:Bool is_fake:Bool = ChatInviteLinkInfo;
|
chatInviteLinkInfo chat_id:int53 accessible_for:int32 type:InviteLinkChatType title:string photo:chatPhotoInfo accent_color_id:int32 description:string member_count:int32 member_user_ids:vector<int53> creates_join_request:Bool is_public:Bool is_verified:Bool is_scam:Bool is_fake:Bool = ChatInviteLinkInfo;
|
||||||
|
|
||||||
|
|
||||||
//@description Describes a user that sent a join request and waits for administrator approval @user_id User identifier @date Point in time (Unix timestamp) when the user sent the join request @bio A short bio of the user
|
//@description Describes a user that sent a join request and waits for administrator approval @user_id User identifier @date Point in time (Unix timestamp) when the user sent the join request @bio A short bio of the user
|
||||||
|
@ -1072,24 +1141,24 @@ messageViewer user_id:int53 view_date:int32 = MessageViewer;
|
||||||
messageViewers viewers:vector<messageViewer> = MessageViewers;
|
messageViewers viewers:vector<messageViewer> = MessageViewers;
|
||||||
|
|
||||||
|
|
||||||
//@class MessageForwardOrigin @description Contains information about the origin of a forwarded message
|
//@class MessageOrigin @description Contains information about the origin of a message
|
||||||
|
|
||||||
//@description The message was originally sent by a known user @sender_user_id Identifier of the user that originally sent the message
|
//@description The message was originally sent by a known user @sender_user_id Identifier of the user that originally sent the message
|
||||||
messageForwardOriginUser sender_user_id:int53 = MessageForwardOrigin;
|
messageOriginUser sender_user_id:int53 = MessageOrigin;
|
||||||
|
|
||||||
|
//@description The message was originally sent by a user, which is hidden by their privacy settings @sender_name Name of the sender
|
||||||
|
messageOriginHiddenUser sender_name:string = MessageOrigin;
|
||||||
|
|
||||||
//@description The message was originally sent on behalf of a chat
|
//@description The message was originally sent on behalf of a chat
|
||||||
//@sender_chat_id Identifier of the chat that originally sent the message
|
//@sender_chat_id Identifier of the chat that originally sent the message
|
||||||
//@author_signature For messages originally sent by an anonymous chat administrator, original message author signature
|
//@author_signature For messages originally sent by an anonymous chat administrator, original message author signature
|
||||||
messageForwardOriginChat sender_chat_id:int53 author_signature:string = MessageForwardOrigin;
|
messageOriginChat sender_chat_id:int53 author_signature:string = MessageOrigin;
|
||||||
|
|
||||||
//@description The message was originally sent by a user, which is hidden by their privacy settings @sender_name Name of the sender
|
|
||||||
messageForwardOriginHiddenUser sender_name:string = MessageForwardOrigin;
|
|
||||||
|
|
||||||
//@description The message was originally a post in a channel
|
//@description The message was originally a post in a channel
|
||||||
//@chat_id Identifier of the chat from which the message was originally forwarded
|
//@chat_id Identifier of the channel chat to which the message was originally sent
|
||||||
//@message_id Message identifier of the original message
|
//@message_id Message identifier of the original message
|
||||||
//@author_signature Original post author signature
|
//@author_signature Original post author signature
|
||||||
messageForwardOriginChannel chat_id:int53 message_id:int53 author_signature:string = MessageForwardOrigin;
|
messageOriginChannel chat_id:int53 message_id:int53 author_signature:string = MessageOrigin;
|
||||||
|
|
||||||
|
|
||||||
//@class ReactionType @description Describes type of message reaction
|
//@class ReactionType @description Describes type of message reaction
|
||||||
|
@ -1102,12 +1171,12 @@ reactionTypeCustomEmoji custom_emoji_id:int64 = ReactionType;
|
||||||
|
|
||||||
|
|
||||||
//@description Contains information about a forwarded message
|
//@description Contains information about a forwarded message
|
||||||
//@origin Origin of a forwarded message
|
//@origin Origin of the forwarded message
|
||||||
//@date Point in time (Unix timestamp) when the message was originally sent
|
//@date Point in time (Unix timestamp) when the message was originally sent
|
||||||
//@public_service_announcement_type The type of a public service announcement for the forwarded message
|
//@public_service_announcement_type The type of a public service announcement for the forwarded message
|
||||||
//@from_chat_id For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel's discussion group, the identifier of the chat from which the message was forwarded last time; 0 if unknown
|
//@from_chat_id For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel's discussion group, the identifier of the chat from which the message was forwarded last time; 0 if unknown
|
||||||
//@from_message_id For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel's discussion group, the identifier of the original message from which the new message was forwarded last time; 0 if unknown
|
//@from_message_id For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel's discussion group, the identifier of the original message from which the new message was forwarded last time; 0 if unknown
|
||||||
messageForwardInfo origin:MessageForwardOrigin date:int32 public_service_announcement_type:string from_chat_id:int53 from_message_id:int53 = MessageForwardInfo;
|
messageForwardInfo origin:MessageOrigin date:int32 public_service_announcement_type:string from_chat_id:int53 from_message_id:int53 = MessageForwardInfo;
|
||||||
|
|
||||||
//@description Contains information about a message created with importMessages
|
//@description Contains information about a message created with importMessages
|
||||||
//@sender_name Name of the original sender
|
//@sender_name Name of the original sender
|
||||||
|
@ -1154,21 +1223,43 @@ messageSendingStatePending sending_id:int32 = MessageSendingState;
|
||||||
//@error The cause of the message sending failure
|
//@error The cause of the message sending failure
|
||||||
//@can_retry True, if the message can be re-sent
|
//@can_retry True, if the message can be re-sent
|
||||||
//@need_another_sender True, if the message can be re-sent only on behalf of a different sender
|
//@need_another_sender True, if the message can be re-sent only on behalf of a different sender
|
||||||
|
//@need_another_reply_quote True, if the message can be re-sent only if another quote is chosen in the message that is replied by the given message
|
||||||
|
//@need_drop_reply True, if the message can be re-sent only if the message to be replied is removed. This will be done automatically by resendMessages
|
||||||
//@retry_after Time left before the message can be re-sent, in seconds. No update is sent when this field changes
|
//@retry_after Time left before the message can be re-sent, in seconds. No update is sent when this field changes
|
||||||
messageSendingStateFailed error:error can_retry:Bool need_another_sender:Bool retry_after:double = MessageSendingState;
|
messageSendingStateFailed error:error can_retry:Bool need_another_sender:Bool need_another_reply_quote:Bool need_drop_reply:Bool retry_after:double = MessageSendingState;
|
||||||
|
|
||||||
|
|
||||||
//@class MessageReplyTo @description Contains information about the message or the story a message is replying to
|
//@class MessageReplyTo @description Contains information about the message or the story a message is replying to
|
||||||
|
|
||||||
//@description Describes a replied message
|
//@description Describes a message replied by a given message
|
||||||
//@chat_id The identifier of the chat to which the replied message belongs; ignored for outgoing replies. For example, messages in the Replies chat are replies to messages in different chats
|
//@chat_id The identifier of the chat to which the message belongs; may be 0 if the replied message is in unknown chat
|
||||||
//@message_id The identifier of the replied message
|
//@message_id The identifier of the message; may be 0 if the replied message is in unknown chat
|
||||||
messageReplyToMessage chat_id:int53 message_id:int53 = MessageReplyTo;
|
//@quote Manually or automatically chosen quote from the replied message; may be null if none. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities can be present in the quote
|
||||||
|
//@is_quote_manual True, if the quote was manually chosen by the message sender
|
||||||
|
//@origin Information about origin of the message if the message was replied from another chat; may be null for messages from the same chat
|
||||||
|
//@origin_send_date Point in time (Unix timestamp) when the message was sent if the message was replied from another chat; 0 for messages from the same chat
|
||||||
|
//@content Media content of the message if the message was replied from another chat; may be null for messages from the same chat and messages without media.
|
||||||
|
//-Can be only one of the following types: messageAnimation, messageAudio, messageContact, messageDice, messageDocument, messageGame, messageInvoice, messageLocation,
|
||||||
|
//-messagePhoto, messagePoll, messagePremiumGiveaway, messageSticker, messageStory, messageText (for link preview), messageVenue, messageVideo, messageVideoNote, or messageVoiceNote
|
||||||
|
messageReplyToMessage chat_id:int53 message_id:int53 quote:formattedText is_quote_manual:Bool origin:MessageOrigin origin_send_date:int32 content:MessageContent = MessageReplyTo;
|
||||||
|
|
||||||
//@description Describes a replied story @story_sender_chat_id The identifier of the sender of the replied story. Currently, stories can be replied only in the sender's chat @story_id The identifier of the replied story
|
//@description Describes a story replied by a given message @story_sender_chat_id The identifier of the sender of the story @story_id The identifier of the story
|
||||||
messageReplyToStory story_sender_chat_id:int53 story_id:int32 = MessageReplyTo;
|
messageReplyToStory story_sender_chat_id:int53 story_id:int32 = MessageReplyTo;
|
||||||
|
|
||||||
|
|
||||||
|
//@class InputMessageReplyTo @description Contains information about the message or the story to be replied
|
||||||
|
|
||||||
|
//@description Describes a message to be replied
|
||||||
|
//@chat_id The identifier of the chat to which the message to be replied belongs; pass 0 if the message to be replied is in the same chat. Must always be 0 for replies in secret chats. A message can be replied in another chat only if message.can_be_replied_in_another_chat
|
||||||
|
//@message_id The identifier of the message to be replied in the same or the specified chat
|
||||||
|
//@quote Manually chosen quote from the message to be replied; pass null if none; 0-getOption("message_reply_quote_length_max") characters. Must always be null for replies in secret chats.
|
||||||
|
//-Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed to be kept and must be kept in the quote
|
||||||
|
inputMessageReplyToMessage chat_id:int53 message_id:int53 quote:formattedText = InputMessageReplyTo;
|
||||||
|
|
||||||
|
//@description Describes a story to be replied @story_sender_chat_id The identifier of the sender of the story. Currently, stories can be replied only in the sender's chat @story_id The identifier of the story
|
||||||
|
inputMessageReplyToStory story_sender_chat_id:int53 story_id:int32 = InputMessageReplyTo;
|
||||||
|
|
||||||
|
|
||||||
//@description Describes a message
|
//@description Describes a message
|
||||||
//@id Message identifier; unique for the chat to which the message belongs
|
//@id Message identifier; unique for the chat to which the message belongs
|
||||||
//@sender_id Identifier of the sender of the message
|
//@sender_id Identifier of the sender of the message
|
||||||
|
@ -1179,6 +1270,7 @@ messageReplyToStory story_sender_chat_id:int53 story_id:int32 = MessageReplyTo;
|
||||||
//@is_pinned True, if the message is pinned
|
//@is_pinned True, if the message is pinned
|
||||||
//@can_be_edited True, if the message can be edited. For live location and poll messages this fields shows whether editMessageLiveLocation or stopPoll can be used with this message by the application
|
//@can_be_edited True, if the message can be edited. For live location and poll messages this fields shows whether editMessageLiveLocation or stopPoll can be used with this message by the application
|
||||||
//@can_be_forwarded True, if the message can be forwarded
|
//@can_be_forwarded True, if the message can be forwarded
|
||||||
|
//@can_be_replied_in_another_chat True, if the message can be replied in another chat
|
||||||
//@can_be_saved True, if content of the message can be saved locally or copied
|
//@can_be_saved True, if content of the message can be saved locally or copied
|
||||||
//@can_be_deleted_only_for_self True, if the message can be deleted only for the current user while other users will continue to see it
|
//@can_be_deleted_only_for_self True, if the message can be deleted only for the current user while other users will continue to see it
|
||||||
//@can_be_deleted_for_all_users True, if the message can be deleted for all users
|
//@can_be_deleted_for_all_users True, if the message can be deleted for all users
|
||||||
|
@ -1209,7 +1301,7 @@ messageReplyToStory story_sender_chat_id:int53 story_id:int32 = MessageReplyTo;
|
||||||
//@restriction_reason If non-empty, contains a human-readable description of the reason why access to this message must be restricted
|
//@restriction_reason If non-empty, contains a human-readable description of the reason why access to this message must be restricted
|
||||||
//@content Content of the message
|
//@content Content of the message
|
||||||
//@reply_markup Reply markup for the message; may be null if none
|
//@reply_markup Reply markup for the message; may be null if none
|
||||||
message id:int53 sender_id:MessageSender chat_id:int53 sending_state:MessageSendingState scheduling_state:MessageSchedulingState is_outgoing:Bool is_pinned:Bool can_be_edited:Bool can_be_forwarded:Bool can_be_saved:Bool can_be_deleted_only_for_self:Bool can_be_deleted_for_all_users:Bool can_get_added_reactions:Bool can_get_statistics:Bool can_get_message_thread:Bool can_get_viewers:Bool can_get_media_timestamp_links:Bool can_report_reactions:Bool has_timestamped_media:Bool is_channel_post:Bool is_topic_message:Bool contains_unread_mention:Bool date:int32 edit_date:int32 forward_info:messageForwardInfo import_info:messageImportInfo interaction_info:messageInteractionInfo unread_reactions:vector<unreadReaction> reply_to:MessageReplyTo message_thread_id:int53 self_destruct_type:MessageSelfDestructType self_destruct_in:double auto_delete_in:double via_bot_user_id:int53 author_signature:string media_album_id:int64 restriction_reason:string content:MessageContent reply_markup:ReplyMarkup = Message;
|
message id:int53 sender_id:MessageSender chat_id:int53 sending_state:MessageSendingState scheduling_state:MessageSchedulingState is_outgoing:Bool is_pinned:Bool can_be_edited:Bool can_be_forwarded:Bool can_be_replied_in_another_chat:Bool can_be_saved:Bool can_be_deleted_only_for_self:Bool can_be_deleted_for_all_users:Bool can_get_added_reactions:Bool can_get_statistics:Bool can_get_message_thread:Bool can_get_viewers:Bool can_get_media_timestamp_links:Bool can_report_reactions:Bool has_timestamped_media:Bool is_channel_post:Bool is_topic_message:Bool contains_unread_mention:Bool date:int32 edit_date:int32 forward_info:messageForwardInfo import_info:messageImportInfo interaction_info:messageInteractionInfo unread_reactions:vector<unreadReaction> reply_to:MessageReplyTo message_thread_id:int53 self_destruct_type:MessageSelfDestructType self_destruct_in:double auto_delete_in:double via_bot_user_id:int53 author_signature:string media_album_id:int64 restriction_reason:string content:MessageContent reply_markup:ReplyMarkup = Message;
|
||||||
|
|
||||||
//@description Contains a list of messages @total_count Approximate total number of messages found @messages List of messages; messages may be null
|
//@description Contains a list of messages @total_count Approximate total number of messages found @messages List of messages; messages may be null
|
||||||
messages total_count:int32 messages:vector<message> = Messages;
|
messages total_count:int32 messages:vector<message> = Messages;
|
||||||
|
@ -1365,10 +1457,10 @@ scopeNotificationSettings mute_for:int32 sound_id:int64 show_preview:Bool use_de
|
||||||
|
|
||||||
|
|
||||||
//@description Contains information about a message draft
|
//@description Contains information about a message draft
|
||||||
//@reply_to_message_id Identifier of the replied message; 0 if none
|
//@reply_to Information about the message to be replied; must be of the type inputMessageReplyToMessage; may be null if none
|
||||||
//@date Point in time (Unix timestamp) when the draft was created
|
//@date Point in time (Unix timestamp) when the draft was created
|
||||||
//@input_message_text Content of the message draft; must be of the type inputMessageText
|
//@input_message_text Content of the message draft; must be of the type inputMessageText
|
||||||
draftMessage reply_to_message_id:int53 date:int32 input_message_text:InputMessageContent = DraftMessage;
|
draftMessage reply_to:InputMessageReplyTo date:int32 input_message_text:InputMessageContent = DraftMessage;
|
||||||
|
|
||||||
|
|
||||||
//@class ChatType @description Describes the type of a chat
|
//@class ChatType @description Describes the type of a chat
|
||||||
|
@ -1496,6 +1588,8 @@ videoChat group_call_id:int32 has_participants:Bool default_participant_id:Messa
|
||||||
//@type Type of the chat
|
//@type Type of the chat
|
||||||
//@title Chat title
|
//@title Chat title
|
||||||
//@photo Chat photo; may be null
|
//@photo Chat photo; may be null
|
||||||
|
//@accent_color_id Identifier of the accent color for message sender name, and backgrounds of chat photo, reply header, and link preview
|
||||||
|
//@background_custom_emoji_id Identifier of a custom emoji to be shown on the reply header background in replies to messages sent by the chat; 0 if none
|
||||||
//@permissions Actions that non-administrator chat members are allowed to take in the chat
|
//@permissions Actions that non-administrator chat members are allowed to take in the chat
|
||||||
//@last_message Last message in the chat; may be null if none or unknown
|
//@last_message Last message in the chat; may be null if none or unknown
|
||||||
//@positions Positions of the chat in chat lists
|
//@positions Positions of the chat in chat lists
|
||||||
|
@ -1525,7 +1619,7 @@ videoChat group_call_id:int32 has_participants:Bool default_participant_id:Messa
|
||||||
//@reply_markup_message_id Identifier of the message from which reply markup needs to be used; 0 if there is no default custom reply markup in the chat
|
//@reply_markup_message_id Identifier of the message from which reply markup needs to be used; 0 if there is no default custom reply markup in the chat
|
||||||
//@draft_message A draft of a message in the chat; may be null if none
|
//@draft_message A draft of a message in the chat; may be null if none
|
||||||
//@client_data Application-specific data associated with the chat. (For example, the chat scroll position or local chat notification settings can be stored here.) Persistent if the message database is used
|
//@client_data Application-specific data associated with the chat. (For example, the chat scroll position or local chat notification settings can be stored here.) Persistent if the message database is used
|
||||||
chat id:int53 type:ChatType title:string photo:chatPhotoInfo permissions:chatPermissions last_message:message positions:vector<chatPosition> message_sender_id:MessageSender block_list:BlockList has_protected_content:Bool is_translatable:Bool is_marked_as_unread:Bool has_scheduled_messages:Bool can_be_deleted_only_for_self:Bool can_be_deleted_for_all_users:Bool can_be_reported:Bool default_disable_notification:Bool unread_count:int32 last_read_inbox_message_id:int53 last_read_outbox_message_id:int53 unread_mention_count:int32 unread_reaction_count:int32 notification_settings:chatNotificationSettings available_reactions:ChatAvailableReactions message_auto_delete_time:int32 background:chatBackground theme_name:string action_bar:ChatActionBar video_chat:videoChat pending_join_requests:chatJoinRequestsInfo reply_markup_message_id:int53 draft_message:draftMessage client_data:string = Chat;
|
chat id:int53 type:ChatType title:string photo:chatPhotoInfo accent_color_id:int32 background_custom_emoji_id:int64 permissions:chatPermissions last_message:message positions:vector<chatPosition> message_sender_id:MessageSender block_list:BlockList has_protected_content:Bool is_translatable:Bool is_marked_as_unread:Bool has_scheduled_messages:Bool can_be_deleted_only_for_self:Bool can_be_deleted_for_all_users:Bool can_be_reported:Bool default_disable_notification:Bool unread_count:int32 last_read_inbox_message_id:int53 last_read_outbox_message_id:int53 unread_mention_count:int32 unread_reaction_count:int32 notification_settings:chatNotificationSettings available_reactions:ChatAvailableReactions message_auto_delete_time:int32 background:chatBackground theme_name:string action_bar:ChatActionBar video_chat:videoChat pending_join_requests:chatJoinRequestsInfo reply_markup_message_id:int53 draft_message:draftMessage client_data:string = Chat;
|
||||||
|
|
||||||
//@description Represents a list of chats @total_count Approximate total number of chats found @chat_ids List of chat identifiers
|
//@description Represents a list of chats @total_count Approximate total number of chats found @chat_ids List of chat identifiers
|
||||||
chats total_count:int32 chat_ids:vector<int53> = Chats;
|
chats total_count:int32 chat_ids:vector<int53> = Chats;
|
||||||
|
@ -1695,10 +1789,9 @@ loginUrlInfoRequestConfirmation url:string domain:string bot_user_id:int53 reque
|
||||||
|
|
||||||
//@description Contains information about a Web App found by its short name
|
//@description Contains information about a Web App found by its short name
|
||||||
//@web_app The Web App
|
//@web_app The Web App
|
||||||
//@supports_settings True, if the app supports "settings_button_pressed" event
|
|
||||||
//@request_write_access True, if the user must be asked for the permission to the bot to send them messages
|
//@request_write_access True, if the user must be asked for the permission to the bot to send them messages
|
||||||
//@skip_confirmation True, if there is no need to show an ordinary open URL confirmation before opening the Web App. The field must be ignored and confirmation must be shown anyway if the Web App link was hidden
|
//@skip_confirmation True, if there is no need to show an ordinary open URL confirmation before opening the Web App. The field must be ignored and confirmation must be shown anyway if the Web App link was hidden
|
||||||
foundWebApp web_app:webApp supports_settings:Bool request_write_access:Bool skip_confirmation:Bool = FoundWebApp;
|
foundWebApp web_app:webApp request_write_access:Bool skip_confirmation:Bool = FoundWebApp;
|
||||||
|
|
||||||
//@description Contains information about a Web App @launch_id Unique identifier for the Web App launch @url A Web App URL to open in a web view
|
//@description Contains information about a Web App @launch_id Unique identifier for the Web App launch @url A Web App URL to open in a web view
|
||||||
webAppInfo launch_id:int64 url:string = WebAppInfo;
|
webAppInfo launch_id:int64 url:string = WebAppInfo;
|
||||||
|
@ -1751,6 +1844,15 @@ forumTopic info:forumTopicInfo last_message:message is_pinned:Bool unread_count:
|
||||||
forumTopics total_count:int32 topics:vector<forumTopic> next_offset_date:int32 next_offset_message_id:int53 next_offset_message_thread_id:int53 = ForumTopics;
|
forumTopics total_count:int32 topics:vector<forumTopic> next_offset_date:int32 next_offset_message_id:int53 next_offset_message_thread_id:int53 = ForumTopics;
|
||||||
|
|
||||||
|
|
||||||
|
//@description Options to be used for generation of a link preview
|
||||||
|
//@is_disabled True, if link preview must be disabled
|
||||||
|
//@url URL to use for link preview. If empty, then the first URL found in the message text will be used
|
||||||
|
//@force_small_media True, if shown media preview must be small; ignored in secret chats or if the URL isn't explicitly specified
|
||||||
|
//@force_large_media True, if shown media preview must be large; ignored in secret chats or if the URL isn't explicitly specified
|
||||||
|
//@show_above_text True, if link preview must be shown above message text; otherwise, the link preview will be shown below the message text; ignored in secret chats
|
||||||
|
linkPreviewOptions is_disabled:Bool url:string force_small_media:Bool force_large_media:Bool show_above_text:Bool = LinkPreviewOptions;
|
||||||
|
|
||||||
|
|
||||||
//@class RichText @description Describes a text object inside an instant-view web page
|
//@class RichText @description Describes a text object inside an instant-view web page
|
||||||
|
|
||||||
//@description A plain text @text Text
|
//@description A plain text @text Text
|
||||||
|
@ -1969,8 +2071,9 @@ pageBlockSlideshow page_blocks:vector<PageBlock> caption:pageBlockCaption = Page
|
||||||
//@description A link to a chat
|
//@description A link to a chat
|
||||||
//@title Chat title
|
//@title Chat title
|
||||||
//@photo Chat photo; may be null
|
//@photo Chat photo; may be null
|
||||||
|
//@accent_color_id Identifier of the accent color for chat title and background of chat photo
|
||||||
//@username Chat username by which all other information about the chat can be resolved
|
//@username Chat username by which all other information about the chat can be resolved
|
||||||
pageBlockChatLink title:string photo:chatPhotoInfo username:string = PageBlock;
|
pageBlockChatLink title:string photo:chatPhotoInfo accent_color_id:int32 username:string = PageBlock;
|
||||||
|
|
||||||
//@description A table
|
//@description A table
|
||||||
//@caption Table caption
|
//@caption Table caption
|
||||||
|
@ -2009,7 +2112,7 @@ pageBlockMap location:location zoom:int32 width:int32 height:int32 caption:pageB
|
||||||
webPageInstantView page_blocks:vector<PageBlock> view_count:int32 version:int32 is_rtl:Bool is_full:Bool feedback_link:InternalLinkType = WebPageInstantView;
|
webPageInstantView page_blocks:vector<PageBlock> view_count:int32 version:int32 is_rtl:Bool is_full:Bool feedback_link:InternalLinkType = WebPageInstantView;
|
||||||
|
|
||||||
|
|
||||||
//@description Describes a web page preview
|
//@description Describes a link preview
|
||||||
//@url Original URL of the link
|
//@url Original URL of the link
|
||||||
//@display_url URL to display
|
//@display_url URL to display
|
||||||
//@type Type of the web page. Can be: article, photo, audio, video, document, profile, app, or something else
|
//@type Type of the web page. Can be: article, photo, audio, video, document, profile, app, or something else
|
||||||
|
@ -2023,6 +2126,10 @@ webPageInstantView page_blocks:vector<PageBlock> view_count:int32 version:int32
|
||||||
//@embed_height Height of the embedded preview
|
//@embed_height Height of the embedded preview
|
||||||
//@duration Duration of the content, in seconds
|
//@duration Duration of the content, in seconds
|
||||||
//@author Author of the content
|
//@author Author of the content
|
||||||
|
//@has_large_media True, if the preview has large media and its appearance can be changed
|
||||||
|
//@show_large_media True, if large media preview must be shown
|
||||||
|
//@skip_confirmation True, if there is no need to show an ordinary open URL confirmation, when opening the URL from the preview, because the URL is shown in the message text in clear
|
||||||
|
//@show_above_text True, if the link preview must be shown above message text; otherwise, the link preview must be shown below the message text
|
||||||
//@animation Preview of the content as an animation, if available; may be null
|
//@animation Preview of the content as an animation, if available; may be null
|
||||||
//@audio Preview of the content as an audio file, if available; may be null
|
//@audio Preview of the content as an audio file, if available; may be null
|
||||||
//@document Preview of the content as a document, if available; may be null
|
//@document Preview of the content as a document, if available; may be null
|
||||||
|
@ -2033,7 +2140,7 @@ webPageInstantView page_blocks:vector<PageBlock> view_count:int32 version:int32
|
||||||
//@story_sender_chat_id The identifier of the sender of the previewed story; 0 if none
|
//@story_sender_chat_id The identifier of the sender of the previewed story; 0 if none
|
||||||
//@story_id The identifier of the previewed story; 0 if none
|
//@story_id The identifier of the previewed story; 0 if none
|
||||||
//@instant_view_version Version of web page instant view (currently, can be 1 or 2); 0 if none
|
//@instant_view_version Version of web page instant view (currently, can be 1 or 2); 0 if none
|
||||||
webPage url:string display_url:string type:string site_name:string title:string description:formattedText photo:photo embed_url:string embed_type:string embed_width:int32 embed_height:int32 duration:int32 author:string animation:animation audio:audio document:document sticker:sticker video:video video_note:videoNote voice_note:voiceNote story_sender_chat_id:int53 story_id:int32 instant_view_version:int32 = WebPage;
|
webPage url:string display_url:string type:string site_name:string title:string description:formattedText photo:photo embed_url:string embed_type:string embed_width:int32 embed_height:int32 duration:int32 author:string has_large_media:Bool show_large_media:Bool skip_confirmation:Bool show_above_text:Bool animation:animation audio:audio document:document sticker:sticker video:video video_note:videoNote voice_note:voiceNote story_sender_chat_id:int53 story_id:int32 instant_view_version:int32 = WebPage;
|
||||||
|
|
||||||
|
|
||||||
//@description Contains information about a country
|
//@description Contains information about a country
|
||||||
|
@ -2075,12 +2182,18 @@ address country_code:string state:string city:string street_line1:string street_
|
||||||
//@description Contains parameters of the application theme
|
//@description Contains parameters of the application theme
|
||||||
//@background_color A color of the background in the RGB24 format
|
//@background_color A color of the background in the RGB24 format
|
||||||
//@secondary_background_color A secondary color for the background in the RGB24 format
|
//@secondary_background_color A secondary color for the background in the RGB24 format
|
||||||
|
//@header_background_color A color of the header background in the RGB24 format
|
||||||
|
//@section_background_color A color of the section background in the RGB24 format
|
||||||
//@text_color A color of text in the RGB24 format
|
//@text_color A color of text in the RGB24 format
|
||||||
|
//@accent_text_color An accent color of the text in the RGB24 format
|
||||||
|
//@section_header_text_color A color of text on the section headers in the RGB24 format
|
||||||
|
//@subtitle_text_color A color of the subtitle text in the RGB24 format
|
||||||
|
//@destructive_text_color A color of the text for destructive actions in the RGB24 format
|
||||||
//@hint_color A color of hints in the RGB24 format
|
//@hint_color A color of hints in the RGB24 format
|
||||||
//@link_color A color of links in the RGB24 format
|
//@link_color A color of links in the RGB24 format
|
||||||
//@button_color A color of the buttons in the RGB24 format
|
//@button_color A color of the buttons in the RGB24 format
|
||||||
//@button_text_color A color of text on the buttons in the RGB24 format
|
//@button_text_color A color of text on the buttons in the RGB24 format
|
||||||
themeParameters background_color:int32 secondary_background_color:int32 text_color:int32 hint_color:int32 link_color:int32 button_color:int32 button_text_color:int32 = ThemeParameters;
|
themeParameters background_color:int32 secondary_background_color:int32 header_background_color:int32 section_background_color:int32 text_color:int32 accent_text_color:int32 section_header_text_color:int32 subtitle_text_color:int32 destructive_text_color:int32 hint_color:int32 link_color:int32 button_color:int32 button_text_color:int32 = ThemeParameters;
|
||||||
|
|
||||||
|
|
||||||
//@description Portion of the price of a product (e.g., "delivery cost", "tax amount") @label Label for this portion of the product price @amount Currency amount in the smallest units of the currency
|
//@description Portion of the price of a product (e.g., "delivery cost", "tax amount") @label Label for this portion of the product price @amount Currency amount in the smallest units of the currency
|
||||||
|
@ -2200,6 +2313,9 @@ inputInvoiceMessage chat_id:int53 message_id:int53 = InputInvoice;
|
||||||
//@description An invoice from a link of the type internalLinkTypeInvoice @name Name of the invoice
|
//@description An invoice from a link of the type internalLinkTypeInvoice @name Name of the invoice
|
||||||
inputInvoiceName name:string = InputInvoice;
|
inputInvoiceName name:string = InputInvoice;
|
||||||
|
|
||||||
|
//@description An invoice for a payment toward Telegram; must not be used in the in-store apps @purpose Transaction purpose
|
||||||
|
inputInvoiceTelegram purpose:TelegramPaymentPurpose = InputInvoice;
|
||||||
|
|
||||||
|
|
||||||
//@class MessageExtendedMedia @description Describes a media, which is attached to an invoice
|
//@class MessageExtendedMedia @description Describes a media, which is attached to an invoice
|
||||||
|
|
||||||
|
@ -2221,6 +2337,15 @@ messageExtendedMediaVideo video:video caption:formattedText = MessageExtendedMed
|
||||||
messageExtendedMediaUnsupported caption:formattedText = MessageExtendedMedia;
|
messageExtendedMediaUnsupported caption:formattedText = MessageExtendedMedia;
|
||||||
|
|
||||||
|
|
||||||
|
//@description Describes parameters of a Telegram Premium giveaway
|
||||||
|
//@boosted_chat_id Identifier of the channel chat, which will be automatically boosted by the winners of the giveaway for duration of the Premium subscription
|
||||||
|
//@additional_chat_ids Identifiers of other channel chats that must be subscribed by the users to be eligible for the giveaway. There can be up to getOption("giveaway_additional_chat_count_max") additional chats
|
||||||
|
//@winners_selection_date Point in time (Unix timestamp) when the giveaway is expected to be performed; must be 60-getOption("giveaway_duration_max") seconds in the future in scheduled giveaways
|
||||||
|
//@only_new_members True, if only new subscribers of the chats will be eligible for the giveaway
|
||||||
|
//@country_codes The list of two-letter ISO 3166-1 alpha-2 codes of countries, users from which will be eligible for the giveaway. If empty, then all users can participate in the giveaway.
|
||||||
|
//-There can be up to getOption("giveaway_country_count_max") chosen countries. Users with phone number that was bought on Fragment can participate in any giveaway and the country code "FT" must not be specified in the list
|
||||||
|
premiumGiveawayParameters boosted_chat_id:int53 additional_chat_ids:vector<int53> winners_selection_date:int32 only_new_members:Bool country_codes:vector<string> = PremiumGiveawayParameters;
|
||||||
|
|
||||||
|
|
||||||
//@description File with the date it was uploaded @file The file @date Point in time (Unix timestamp) when the file was uploaded
|
//@description File with the date it was uploaded @file The file @date Point in time (Unix timestamp) when the file was uploaded
|
||||||
datedFile file:file date:int32 = DatedFile;
|
datedFile file:file date:int32 = DatedFile;
|
||||||
|
@ -2504,8 +2629,11 @@ inputPassportElementError type:PassportElementType message:string source:InputPa
|
||||||
|
|
||||||
//@class MessageContent @description Contains the content of a message
|
//@class MessageContent @description Contains the content of a message
|
||||||
|
|
||||||
//@description A text message @text Text of the message @web_page A preview of the web page that's mentioned in the text; may be null
|
//@description A text message
|
||||||
messageText text:formattedText web_page:webPage = MessageContent;
|
//@text Text of the message
|
||||||
|
//@web_page A link preview attached to the message; may be null
|
||||||
|
//@link_preview_options Options which was used for generation of the link preview; may be null if default options were used
|
||||||
|
messageText text:formattedText web_page:webPage link_preview_options:linkPreviewOptions = MessageContent;
|
||||||
|
|
||||||
//@description An animation message (GIF-style).
|
//@description An animation message (GIF-style).
|
||||||
//@animation The animation description
|
//@animation The animation description
|
||||||
|
@ -2718,6 +2846,25 @@ messagePaymentSuccessfulBot currency:string total_amount:int53 is_recurring:Bool
|
||||||
//@sticker A sticker to be shown in the message; may be null if unknown
|
//@sticker A sticker to be shown in the message; may be null if unknown
|
||||||
messageGiftedPremium gifter_user_id:int53 currency:string amount:int53 cryptocurrency:string cryptocurrency_amount:int64 month_count:int32 sticker:sticker = MessageContent;
|
messageGiftedPremium gifter_user_id:int53 currency:string amount:int53 cryptocurrency:string cryptocurrency_amount:int64 month_count:int32 sticker:sticker = MessageContent;
|
||||||
|
|
||||||
|
//@description A Telegram Premium gift code was created for the user
|
||||||
|
//@creator_id Identifier of a chat or a user that created the gift code
|
||||||
|
//@is_from_giveaway True, if the gift code was created for a giveaway
|
||||||
|
//@is_unclaimed True, if the winner for the corresponding Telegram Premium subscription wasn't chosen
|
||||||
|
//@month_count Number of month the Telegram Premium subscription will be active after code activation
|
||||||
|
//@sticker A sticker to be shown in the message; may be null if unknown
|
||||||
|
//@code The gift code
|
||||||
|
messagePremiumGiftCode creator_id:MessageSender is_from_giveaway:Bool is_unclaimed:Bool month_count:int32 sticker:sticker code:string = MessageContent;
|
||||||
|
|
||||||
|
//@description A Telegram Premium giveaway was created for the chat
|
||||||
|
messagePremiumGiveawayCreated = MessageContent;
|
||||||
|
|
||||||
|
//@description A Telegram Premium giveaway
|
||||||
|
//@parameters Giveaway parameters
|
||||||
|
//@winner_count Number of users which will receive Telegram Premium subscription gift codes
|
||||||
|
//@month_count Number of month the Telegram Premium subscription will be active after code activation
|
||||||
|
//@sticker A sticker to be shown in the message; may be null if unknown
|
||||||
|
messagePremiumGiveaway parameters:premiumGiveawayParameters winner_count:int32 month_count:int32 sticker:sticker = MessageContent;
|
||||||
|
|
||||||
//@description A contact has registered with Telegram
|
//@description A contact has registered with Telegram
|
||||||
messageContactRegistered = MessageContent;
|
messageContactRegistered = MessageContent;
|
||||||
|
|
||||||
|
@ -2799,6 +2946,9 @@ textEntityTypePre = TextEntityType;
|
||||||
//@description Text that must be formatted as if inside pre, and code HTML tags @language Programming language of the code; as defined by the sender
|
//@description Text that must be formatted as if inside pre, and code HTML tags @language Programming language of the code; as defined by the sender
|
||||||
textEntityTypePreCode language:string = TextEntityType;
|
textEntityTypePreCode language:string = TextEntityType;
|
||||||
|
|
||||||
|
//@description Text that must be formatted as if inside a blockquote HTML tag
|
||||||
|
textEntityTypeBlockQuote = TextEntityType;
|
||||||
|
|
||||||
//@description A text description shown instead of a raw URL @url HTTP or tg:// URL to be opened when the link is clicked
|
//@description A text description shown instead of a raw URL @url HTTP or tg:// URL to be opened when the link is clicked
|
||||||
textEntityTypeTextUrl url:string = TextEntityType;
|
textEntityTypeTextUrl url:string = TextEntityType;
|
||||||
|
|
||||||
|
@ -2844,9 +2994,10 @@ messageSelfDestructTypeImmediately = MessageSelfDestructType;
|
||||||
//@update_order_of_installed_sticker_sets Pass true if the user explicitly chosen a sticker or a custom emoji from an installed sticker set; applicable only to sendMessage and sendMessageAlbum
|
//@update_order_of_installed_sticker_sets Pass true if the user explicitly chosen a sticker or a custom emoji from an installed sticker set; applicable only to sendMessage and sendMessageAlbum
|
||||||
//@scheduling_state Message scheduling state; pass null to send message immediately. Messages sent to a secret chat, live location messages and self-destructing messages can't be scheduled
|
//@scheduling_state Message scheduling state; pass null to send message immediately. Messages sent to a secret chat, live location messages and self-destructing messages can't be scheduled
|
||||||
//@sending_id Non-persistent identifier, which will be returned back in messageSendingStatePending object and can be used to match sent messages and corresponding updateNewMessage updates
|
//@sending_id Non-persistent identifier, which will be returned back in messageSendingStatePending object and can be used to match sent messages and corresponding updateNewMessage updates
|
||||||
messageSendOptions disable_notification:Bool from_background:Bool protect_content:Bool update_order_of_installed_sticker_sets:Bool scheduling_state:MessageSchedulingState sending_id:int32 = MessageSendOptions;
|
//@only_preview Pass true to get a fake message instead of actually sending them
|
||||||
|
messageSendOptions disable_notification:Bool from_background:Bool protect_content:Bool update_order_of_installed_sticker_sets:Bool scheduling_state:MessageSchedulingState sending_id:int32 only_preview:Bool = MessageSendOptions;
|
||||||
|
|
||||||
//@description Options to be used when a message content is copied without reference to the original sender. Service messages and messageInvoice can't be copied
|
//@description Options to be used when a message content is copied without reference to the original sender. Service messages, and messages with messageInvoice or messagePremiumGiveaway content can't be copied
|
||||||
//@send_copy True, if content of the message needs to be copied without reference to the original sender. Always true if the message is forwarded to a secret chat or is local
|
//@send_copy True, if content of the message needs to be copied without reference to the original sender. Always true if the message is forwarded to a secret chat or is local
|
||||||
//@replace_caption True, if media caption of the message copy needs to be replaced. Ignored if send_copy is false
|
//@replace_caption True, if media caption of the message copy needs to be replaced. Ignored if send_copy is false
|
||||||
//@new_caption New message caption; pass null to copy message without caption. Ignored if replace_caption is false
|
//@new_caption New message caption; pass null to copy message without caption. Ignored if replace_caption is false
|
||||||
|
@ -2856,10 +3007,10 @@ messageCopyOptions send_copy:Bool replace_caption:Bool new_caption:formattedText
|
||||||
//@class InputMessageContent @description The content of a message to send
|
//@class InputMessageContent @description The content of a message to send
|
||||||
|
|
||||||
//@description A text message
|
//@description A text message
|
||||||
//@text Formatted text to be sent; 1-getOption("message_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Code, Pre, PreCode, TextUrl and MentionName entities are allowed to be specified manually
|
//@text Formatted text to be sent; 0-getOption("message_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, Code, Pre, PreCode, TextUrl and MentionName entities are allowed to be specified manually
|
||||||
//@disable_web_page_preview True, if rich web page previews for URLs in the message text must be disabled
|
//@link_preview_options Options to be used for generation of a link preview; pass null to use default link preview options
|
||||||
//@clear_draft True, if a chat message draft must be deleted
|
//@clear_draft True, if a chat message draft must be deleted
|
||||||
inputMessageText text:formattedText disable_web_page_preview:Bool clear_draft:Bool = InputMessageContent;
|
inputMessageText text:formattedText link_preview_options:linkPreviewOptions clear_draft:Bool = InputMessageContent;
|
||||||
|
|
||||||
//@description An animation message (GIF-style).
|
//@description An animation message (GIF-style).
|
||||||
//@animation Animation file to be sent
|
//@animation Animation file to be sent
|
||||||
|
@ -2986,7 +3137,7 @@ inputMessageStory story_sender_chat_id:int53 story_id:int32 = InputMessageConten
|
||||||
|
|
||||||
//@description A forwarded message
|
//@description A forwarded message
|
||||||
//@from_chat_id Identifier for the chat this forwarded message came from
|
//@from_chat_id Identifier for the chat this forwarded message came from
|
||||||
//@message_id Identifier of the message to forward
|
//@message_id Identifier of the message to forward. A message can be forwarded only if message.can_be_forwarded
|
||||||
//@in_game_share True, if a game message is being shared from a launched game; applies only to game messages
|
//@in_game_share True, if a game message is being shared from a launched game; applies only to game messages
|
||||||
//@copy_options Options to be used to copy content of the message without reference to the original sender; pass null to forward the message as usual
|
//@copy_options Options to be used to copy content of the message without reference to the original sender; pass null to forward the message as usual
|
||||||
inputMessageForwarded from_chat_id:int53 message_id:int53 in_game_share:Bool copy_options:messageCopyOptions = InputMessageContent;
|
inputMessageForwarded from_chat_id:int53 message_id:int53 in_game_share:Bool copy_options:messageCopyOptions = InputMessageContent;
|
||||||
|
@ -3132,10 +3283,11 @@ emojis emojis:vector<string> = Emojis;
|
||||||
//@is_official True, if the sticker set is official
|
//@is_official True, if the sticker set is official
|
||||||
//@sticker_format Format of the stickers in the set
|
//@sticker_format Format of the stickers in the set
|
||||||
//@sticker_type Type of the stickers in the set
|
//@sticker_type Type of the stickers in the set
|
||||||
|
//@needs_repainting True, if stickers in the sticker set are custom emoji that must be repainted; for custom emoji sticker sets only
|
||||||
//@is_viewed True for already viewed trending sticker sets
|
//@is_viewed True for already viewed trending sticker sets
|
||||||
//@stickers List of stickers in this set
|
//@stickers List of stickers in this set
|
||||||
//@emojis A list of emoji corresponding to the stickers in the same order. The list is only for informational purposes, because a sticker is always sent with a fixed emoji from the corresponding Sticker object
|
//@emojis A list of emoji corresponding to the stickers in the same order. The list is only for informational purposes, because a sticker is always sent with a fixed emoji from the corresponding Sticker object
|
||||||
stickerSet id:int64 title:string name:string thumbnail:thumbnail thumbnail_outline:vector<closedVectorPath> is_installed:Bool is_archived:Bool is_official:Bool sticker_format:StickerFormat sticker_type:StickerType is_viewed:Bool stickers:vector<sticker> emojis:vector<emojis> = StickerSet;
|
stickerSet id:int64 title:string name:string thumbnail:thumbnail thumbnail_outline:vector<closedVectorPath> is_installed:Bool is_archived:Bool is_official:Bool sticker_format:StickerFormat sticker_type:StickerType needs_repainting:Bool is_viewed:Bool stickers:vector<sticker> emojis:vector<emojis> = StickerSet;
|
||||||
|
|
||||||
//@description Represents short information about a sticker set
|
//@description Represents short information about a sticker set
|
||||||
//@id Identifier of the sticker set
|
//@id Identifier of the sticker set
|
||||||
|
@ -3148,10 +3300,11 @@ stickerSet id:int64 title:string name:string thumbnail:thumbnail thumbnail_outli
|
||||||
//@is_official True, if the sticker set is official
|
//@is_official True, if the sticker set is official
|
||||||
//@sticker_format Format of the stickers in the set
|
//@sticker_format Format of the stickers in the set
|
||||||
//@sticker_type Type of the stickers in the set
|
//@sticker_type Type of the stickers in the set
|
||||||
|
//@needs_repainting True, if stickers in the sticker set are custom emoji that must be repainted; for custom emoji sticker sets only
|
||||||
//@is_viewed True for already viewed trending sticker sets
|
//@is_viewed True for already viewed trending sticker sets
|
||||||
//@size Total number of stickers in the set
|
//@size Total number of stickers in the set
|
||||||
//@covers Up to the first 5 stickers from the set, depending on the context. If the application needs more stickers the full sticker set needs to be requested
|
//@covers Up to the first 5 stickers from the set, depending on the context. If the application needs more stickers the full sticker set needs to be requested
|
||||||
stickerSetInfo id:int64 title:string name:string thumbnail:thumbnail thumbnail_outline:vector<closedVectorPath> is_installed:Bool is_archived:Bool is_official:Bool sticker_format:StickerFormat sticker_type:StickerType is_viewed:Bool size:int32 covers:vector<sticker> = StickerSetInfo;
|
stickerSetInfo id:int64 title:string name:string thumbnail:thumbnail thumbnail_outline:vector<closedVectorPath> is_installed:Bool is_archived:Bool is_official:Bool sticker_format:StickerFormat sticker_type:StickerType needs_repainting:Bool is_viewed:Bool size:int32 covers:vector<sticker> = StickerSetInfo;
|
||||||
|
|
||||||
//@description Represents a list of sticker sets @total_count Approximate total number of sticker sets found @sets List of sticker sets
|
//@description Represents a list of sticker sets @total_count Approximate total number of sticker sets found @sets List of sticker sets
|
||||||
stickerSets total_count:int32 sets:vector<stickerSetInfo> = StickerSets;
|
stickerSets total_count:int32 sets:vector<stickerSetInfo> = StickerSets;
|
||||||
|
@ -3353,23 +3506,67 @@ storyInfo story_id:int32 date:int32 is_for_close_friends:Bool = StoryInfo;
|
||||||
chatActiveStories chat_id:int53 list:StoryList order:int53 max_read_story_id:int32 stories:vector<storyInfo> = ChatActiveStories;
|
chatActiveStories chat_id:int53 list:StoryList order:int53 max_read_story_id:int32 stories:vector<storyInfo> = ChatActiveStories;
|
||||||
|
|
||||||
|
|
||||||
|
//@class ChatBoostSource @description Describes source of a chat boost
|
||||||
|
|
||||||
|
//@description The chat created a Telegram Premium gift code for a user
|
||||||
|
//@user_id Identifier of a user, for which the gift code was created
|
||||||
|
//@gift_code The created Telegram Premium gift code, which is known only if this is a gift code for the current user, or it has already been claimed
|
||||||
|
chatBoostSourceGiftCode user_id:int53 gift_code:string = ChatBoostSource;
|
||||||
|
|
||||||
|
//@description The chat created a Telegram Premium giveaway
|
||||||
|
//@user_id Identifier of a user that won in the giveaway; 0 if none
|
||||||
|
//@gift_code The created Telegram Premium gift code if it was used by the user or can be claimed by the current user; an empty string otherwise
|
||||||
|
//@giveaway_message_id Identifier of the corresponding giveaway message; can be an identifier of a deleted message
|
||||||
|
//@is_unclaimed True, if the winner for the corresponding Telegram Premium subscription wasn't chosen, because there were not enough participants
|
||||||
|
chatBoostSourceGiveaway user_id:int53 gift_code:string giveaway_message_id:int53 is_unclaimed:Bool = ChatBoostSource;
|
||||||
|
|
||||||
|
//@description A user with Telegram Premium subscription or gifted Telegram Premium boosted the chat
|
||||||
|
//@user_id Identifier of the user
|
||||||
|
chatBoostSourcePremium user_id:int53 = ChatBoostSource;
|
||||||
|
|
||||||
|
|
||||||
|
//@description Describes a prepaid Telegram Premium giveaway
|
||||||
|
//@id Unique identifier of the prepaid giveaway
|
||||||
|
//@winner_count Number of users which will receive Telegram Premium subscription gift codes
|
||||||
|
//@month_count Number of month the Telegram Premium subscription will be active after code activation
|
||||||
|
//@payment_date Point in time (Unix timestamp) when the giveaway was paid
|
||||||
|
prepaidPremiumGiveaway id:int64 winner_count:int32 month_count:int32 payment_date:int32 = PrepaidPremiumGiveaway;
|
||||||
|
|
||||||
//@description Describes current boost status of a chat
|
//@description Describes current boost status of a chat
|
||||||
//@boost_url An HTTP URL, which can be used to boost the chat
|
//@boost_url An HTTP URL, which can be used to boost the chat
|
||||||
//@is_boosted True, if the current user has already boosted the chat
|
//@applied_slot_ids Identifiers of boost slots of the current user applied to the chat
|
||||||
//@level Current boost level of the chat
|
//@level Current boost level of the chat
|
||||||
//@boost_count The number of times the chat was boosted
|
//@gift_code_boost_count The number of boosts received by the chat from created Telegram Premium gift codes and giveaways; always 0 if the current user isn't an administrator in the chat
|
||||||
|
//@boost_count The number of boosts received by the chat
|
||||||
//@current_level_boost_count The number of boosts added to reach the current level
|
//@current_level_boost_count The number of boosts added to reach the current level
|
||||||
//@next_level_boost_count The number of boosts needed to reach the next level; 0 if the next level isn't available
|
//@next_level_boost_count The number of boosts needed to reach the next level; 0 if the next level isn't available
|
||||||
//@premium_member_count Approximate number of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat
|
//@premium_member_count Approximate number of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat
|
||||||
//@premium_member_percentage A percentage of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat
|
//@premium_member_percentage A percentage of Telegram Premium subscribers joined the chat; always 0 if the current user isn't an administrator in the chat
|
||||||
chatBoostStatus boost_url:string is_boosted:Bool level:int32 boost_count:int32 current_level_boost_count:int32 next_level_boost_count:int32 premium_member_count:int32 premium_member_percentage:double = ChatBoostStatus;
|
//@prepaid_giveaways The list of prepaid giveaways available for the chat; only for chat administrators
|
||||||
|
chatBoostStatus boost_url:string applied_slot_ids:vector<int32> level:int32 gift_code_boost_count:int32 boost_count:int32 current_level_boost_count:int32 next_level_boost_count:int32 premium_member_count:int32 premium_member_percentage:double prepaid_giveaways:vector<prepaidPremiumGiveaway> = ChatBoostStatus;
|
||||||
|
|
||||||
//@description Describes a boost of a chat @user_id Identifier of a user that boosted the chat @expiration_date Point in time (Unix timestamp) when the boost will automatically expire if the user will not prolongate their Telegram Premium subscription
|
//@description Describes a boost applied to a chat
|
||||||
chatBoost user_id:int53 expiration_date:int32 = ChatBoost;
|
//@id Unique identifier of the boost
|
||||||
|
//@count The number of identical boosts applied
|
||||||
|
//@source Source of the boost
|
||||||
|
//@start_date Point in time (Unix timestamp) when the chat was boosted
|
||||||
|
//@expiration_date Point in time (Unix timestamp) when the boost will expire
|
||||||
|
chatBoost id:string count:int32 source:ChatBoostSource start_date:int32 expiration_date:int32 = ChatBoost;
|
||||||
|
|
||||||
//@description Contains a list of boosts applied to a chat @total_count Total number of boosts applied to the chat @boosts List of boosts @next_offset The offset for the next request. If empty, there are no more results
|
//@description Contains a list of boosts applied to a chat @total_count Total number of boosts applied to the chat @boosts List of boosts @next_offset The offset for the next request. If empty, there are no more results
|
||||||
foundChatBoosts total_count:int32 boosts:vector<chatBoost> next_offset:string = FoundChatBoosts;
|
foundChatBoosts total_count:int32 boosts:vector<chatBoost> next_offset:string = FoundChatBoosts;
|
||||||
|
|
||||||
|
//@description Describes a slot for chat boost
|
||||||
|
//@slot_id Unique identifier of the slot
|
||||||
|
//@currently_boosted_chat_id Identifier of the currently boosted chat; 0 if none
|
||||||
|
//@start_date Point in time (Unix timestamp) when the chat was boosted; 0 if none
|
||||||
|
//@expiration_date Point in time (Unix timestamp) when the boost will expire
|
||||||
|
//@cooldown_until_date Point in time (Unix timestamp) after which the boost can be used for another chat
|
||||||
|
chatBoostSlot slot_id:int32 currently_boosted_chat_id:int53 start_date:int32 expiration_date:int32 cooldown_until_date:int32 = ChatBoostSlot;
|
||||||
|
|
||||||
|
//@description Contains a list of chat boost slots @slots List of boost slots
|
||||||
|
chatBoostSlots slots:vector<chatBoostSlot> = ChatBoostSlots;
|
||||||
|
|
||||||
|
|
||||||
//@class CallDiscardReason @description Describes the reason why a call was discarded
|
//@class CallDiscardReason @description Describes the reason why a call was discarded
|
||||||
|
|
||||||
|
@ -3679,7 +3876,6 @@ attachmentMenuBotColor light_color:int32 dark_color:int32 = AttachmentMenuBotCol
|
||||||
//@supports_bot_chats True, if the bot supports opening from attachment menu in private chats with other bots
|
//@supports_bot_chats True, if the bot supports opening from attachment menu in private chats with other bots
|
||||||
//@supports_group_chats True, if the bot supports opening from attachment menu in basic group and supergroup chats
|
//@supports_group_chats True, if the bot supports opening from attachment menu in basic group and supergroup chats
|
||||||
//@supports_channel_chats True, if the bot supports opening from attachment menu in channel chats
|
//@supports_channel_chats True, if the bot supports opening from attachment menu in channel chats
|
||||||
//@supports_settings True, if the bot supports "settings_button_pressed" event
|
|
||||||
//@request_write_access True, if the user must be asked for the permission to send messages to the bot
|
//@request_write_access True, if the user must be asked for the permission to send messages to the bot
|
||||||
//@is_added True, if the bot was explicitly added by the user. If the bot isn't added, then on the first bot launch toggleBotIsAddedToAttachmentMenu must be called and the bot must be added or removed
|
//@is_added True, if the bot was explicitly added by the user. If the bot isn't added, then on the first bot launch toggleBotIsAddedToAttachmentMenu must be called and the bot must be added or removed
|
||||||
//@show_in_attachment_menu True, if the bot must be shown in the attachment menu
|
//@show_in_attachment_menu True, if the bot must be shown in the attachment menu
|
||||||
|
@ -3697,7 +3893,7 @@ attachmentMenuBotColor light_color:int32 dark_color:int32 = AttachmentMenuBotCol
|
||||||
//@macos_side_menu_icon Icon for the bot in PNG format for the official macOS app side menu; may be null
|
//@macos_side_menu_icon Icon for the bot in PNG format for the official macOS app side menu; may be null
|
||||||
//@icon_color Color to highlight selected icon of the bot if appropriate; may be null
|
//@icon_color Color to highlight selected icon of the bot if appropriate; may be null
|
||||||
//@web_app_placeholder Default placeholder for opened Web Apps in SVG format; may be null
|
//@web_app_placeholder Default placeholder for opened Web Apps in SVG format; may be null
|
||||||
attachmentMenuBot bot_user_id:int53 supports_self_chat:Bool supports_user_chats:Bool supports_bot_chats:Bool supports_group_chats:Bool supports_channel_chats:Bool supports_settings:Bool request_write_access:Bool is_added:Bool show_in_attachment_menu:Bool show_in_side_menu:Bool show_disclaimer_in_side_menu:Bool name:string name_color:attachmentMenuBotColor default_icon:file ios_static_icon:file ios_animated_icon:file ios_side_menu_icon:file android_icon:file android_side_menu_icon:file macos_icon:file macos_side_menu_icon:file icon_color:attachmentMenuBotColor web_app_placeholder:file = AttachmentMenuBot;
|
attachmentMenuBot bot_user_id:int53 supports_self_chat:Bool supports_user_chats:Bool supports_bot_chats:Bool supports_group_chats:Bool supports_channel_chats:Bool request_write_access:Bool is_added:Bool show_in_attachment_menu:Bool show_in_side_menu:Bool show_disclaimer_in_side_menu:Bool name:string name_color:attachmentMenuBotColor default_icon:file ios_static_icon:file ios_animated_icon:file ios_side_menu_icon:file android_icon:file android_side_menu_icon:file macos_icon:file macos_side_menu_icon:file icon_color:attachmentMenuBotColor web_app_placeholder:file = AttachmentMenuBot;
|
||||||
|
|
||||||
//@description Information about the message sent by answerWebAppQuery @inline_message_id Identifier of the sent inline message, if known
|
//@description Information about the message sent by answerWebAppQuery @inline_message_id Identifier of the sent inline message, if known
|
||||||
sentWebAppMessage inline_message_id:string = SentWebAppMessage;
|
sentWebAppMessage inline_message_id:string = SentWebAppMessage;
|
||||||
|
@ -4063,6 +4259,12 @@ chatEventUsernameChanged old_username:string new_username:string = ChatEventActi
|
||||||
//@description The chat active usernames were changed @old_usernames Previous list of active usernames @new_usernames New list of active usernames
|
//@description The chat active usernames were changed @old_usernames Previous list of active usernames @new_usernames New list of active usernames
|
||||||
chatEventActiveUsernamesChanged old_usernames:vector<string> new_usernames:vector<string> = ChatEventAction;
|
chatEventActiveUsernamesChanged old_usernames:vector<string> new_usernames:vector<string> = ChatEventAction;
|
||||||
|
|
||||||
|
//@description The chat accent color was changed @old_accent_color_id Previous identifier of chat accent color @new_accent_color_id New identifier of chat accent color
|
||||||
|
chatEventAccentColorChanged old_accent_color_id:int32 new_accent_color_id:int32 = ChatEventAction;
|
||||||
|
|
||||||
|
//@description The chat's custom emoji for reply background was changed @old_background_custom_emoji_id Previous identifier of the custom emoji; 0 if none @new_background_custom_emoji_id New identifier of the custom emoji; 0 if none
|
||||||
|
chatEventBackgroundCustomEmojiChanged old_background_custom_emoji_id:int64 new_background_custom_emoji_id:int64 = ChatEventAction;
|
||||||
|
|
||||||
//@description The has_protected_content setting of a channel was toggled @has_protected_content New value of has_protected_content
|
//@description The has_protected_content setting of a channel was toggled @has_protected_content New value of has_protected_content
|
||||||
chatEventHasProtectedContentToggled has_protected_content:Bool = ChatEventAction;
|
chatEventHasProtectedContentToggled has_protected_content:Bool = ChatEventAction;
|
||||||
|
|
||||||
|
@ -4301,6 +4503,9 @@ premiumFeatureUpgradedStories = PremiumFeature;
|
||||||
//@description The ability to boost chats
|
//@description The ability to boost chats
|
||||||
premiumFeatureChatBoost = PremiumFeature;
|
premiumFeatureChatBoost = PremiumFeature;
|
||||||
|
|
||||||
|
//@description The ability to choose accent color
|
||||||
|
premiumFeatureAccentColor = PremiumFeature;
|
||||||
|
|
||||||
|
|
||||||
//@class PremiumStoryFeature @description Describes a story feature available to Premium users
|
//@class PremiumStoryFeature @description Describes a story feature available to Premium users
|
||||||
|
|
||||||
|
@ -4363,12 +4568,44 @@ premiumState state:formattedText payment_options:vector<premiumStatePaymentOptio
|
||||||
|
|
||||||
//@class StorePaymentPurpose @description Describes a purpose of an in-store payment
|
//@class StorePaymentPurpose @description Describes a purpose of an in-store payment
|
||||||
|
|
||||||
//@description The user subscribed to Telegram Premium @is_restore Pass true if this is a restore of a Telegram Premium purchase; only for App Store @is_upgrade Pass true if this is an upgrade from a monthly subscription to early subscription; only for App Store
|
//@description The user subscribing to Telegram Premium @is_restore Pass true if this is a restore of a Telegram Premium purchase; only for App Store @is_upgrade Pass true if this is an upgrade from a monthly subscription to early subscription; only for App Store
|
||||||
storePaymentPurposePremiumSubscription is_restore:Bool is_upgrade:Bool = StorePaymentPurpose;
|
storePaymentPurposePremiumSubscription is_restore:Bool is_upgrade:Bool = StorePaymentPurpose;
|
||||||
|
|
||||||
//@description The user gifted Telegram Premium to another user @user_id Identifier of the user for which Premium was gifted @currency ISO 4217 currency code of the payment currency @amount Paid amount, in the smallest units of the currency
|
//@description The user gifting Telegram Premium to another user @user_id Identifier of the user to which Premium was gifted @currency ISO 4217 currency code of the payment currency @amount Paid amount, in the smallest units of the currency
|
||||||
storePaymentPurposeGiftedPremium user_id:int53 currency:string amount:int53 = StorePaymentPurpose;
|
storePaymentPurposeGiftedPremium user_id:int53 currency:string amount:int53 = StorePaymentPurpose;
|
||||||
|
|
||||||
|
//@description The user creating Telegram Premium gift codes for other users
|
||||||
|
//@boosted_chat_id Identifier of the channel chat, which will be automatically boosted by the users for duration of the Premium subscription and which is administered by the user; 0 if none
|
||||||
|
//@currency ISO 4217 currency code of the payment currency
|
||||||
|
//@amount Paid amount, in the smallest units of the currency
|
||||||
|
//@user_ids Identifiers of the users which can activate the gift codes
|
||||||
|
storePaymentPurposePremiumGiftCodes boosted_chat_id:int53 currency:string amount:int53 user_ids:vector<int53> = StorePaymentPurpose;
|
||||||
|
|
||||||
|
//@description The user creating a Telegram Premium giveaway for subscribers of channel chats; requires can_post_messages rights in the channels
|
||||||
|
//@parameters Giveaway parameters
|
||||||
|
//@currency ISO 4217 currency code of the payment currency
|
||||||
|
//@amount Paid amount, in the smallest units of the currency
|
||||||
|
storePaymentPurposePremiumGiveaway parameters:premiumGiveawayParameters currency:string amount:int53 = StorePaymentPurpose;
|
||||||
|
|
||||||
|
|
||||||
|
//@class TelegramPaymentPurpose @description Describes a purpose of a payment toward Telegram
|
||||||
|
|
||||||
|
//@description The user creating Telegram Premium gift codes for other users
|
||||||
|
//@boosted_chat_id Identifier of the channel chat, which will be automatically boosted by the users for duration of the Premium subscription and which is administered by the user; 0 if none
|
||||||
|
//@currency ISO 4217 currency code of the payment currency
|
||||||
|
//@amount Paid amount, in the smallest units of the currency
|
||||||
|
//@user_ids Identifiers of the users which can activate the gift codes
|
||||||
|
//@month_count Number of month the Telegram Premium subscription will be active for the users
|
||||||
|
telegramPaymentPurposePremiumGiftCodes boosted_chat_id:int53 currency:string amount:int53 user_ids:vector<int53> month_count:int32 = TelegramPaymentPurpose;
|
||||||
|
|
||||||
|
//@description The user creating a Telegram Premium giveaway for subscribers of channel chats; requires can_post_messages rights in the channels
|
||||||
|
//@parameters Giveaway parameters
|
||||||
|
//@currency ISO 4217 currency code of the payment currency
|
||||||
|
//@amount Paid amount, in the smallest units of the currency
|
||||||
|
//@winner_count Number of users which will be able to activate the gift codes
|
||||||
|
//@month_count Number of month the Telegram Premium subscription will be active for the users
|
||||||
|
telegramPaymentPurposePremiumGiveaway parameters:premiumGiveawayParameters currency:string amount:int53 winner_count:int32 month_count:int32 = TelegramPaymentPurpose;
|
||||||
|
|
||||||
|
|
||||||
//@class DeviceToken @description Represents a data needed to subscribe for push notifications through registerDevice method.
|
//@class DeviceToken @description Represents a data needed to subscribe for push notifications through registerDevice method.
|
||||||
//-To use specific push notification service, the correct application platform must be specified and a valid server authentication data must be uploaded at https://my.telegram.org
|
//-To use specific push notification service, the correct application platform must be specified and a valid server authentication data must be uploaded at https://my.telegram.org
|
||||||
|
@ -4504,27 +4741,6 @@ canSendStoryResultWeeklyLimitExceeded retry_after:int32 = CanSendStoryResult;
|
||||||
canSendStoryResultMonthlyLimitExceeded retry_after:int32 = CanSendStoryResult;
|
canSendStoryResultMonthlyLimitExceeded retry_after:int32 = CanSendStoryResult;
|
||||||
|
|
||||||
|
|
||||||
//@class CanBoostChatResult @description Represents result of checking whether the current user can boost the specific chat
|
|
||||||
|
|
||||||
//@description The chat can be boosted @currently_boosted_chat_id Identifier of the currently boosted chat from which boost will be removed; 0 if none
|
|
||||||
canBoostChatResultOk currently_boosted_chat_id:int53 = CanBoostChatResult;
|
|
||||||
|
|
||||||
//@description The chat can't be boosted
|
|
||||||
canBoostChatResultInvalidChat = CanBoostChatResult;
|
|
||||||
|
|
||||||
//@description The chat is already boosted by the user
|
|
||||||
canBoostChatResultAlreadyBoosted = CanBoostChatResult;
|
|
||||||
|
|
||||||
//@description The user must subscribe to Telegram Premium to be able to boost chats
|
|
||||||
canBoostChatResultPremiumNeeded = CanBoostChatResult;
|
|
||||||
|
|
||||||
//@description The user must have Telegram Premium subscription instead of a gifted Telegram Premium
|
|
||||||
canBoostChatResultPremiumSubscriptionNeeded = CanBoostChatResult;
|
|
||||||
|
|
||||||
//@description The user must wait the specified time before the boost can be moved to another chat @retry_after Time left before the user can boost another chat
|
|
||||||
canBoostChatResultWaitNeeded retry_after:int32 = CanBoostChatResult;
|
|
||||||
|
|
||||||
|
|
||||||
//@class CanTransferOwnershipResult @description Represents result of checking whether the current session can be used to transfer a chat ownership to another user
|
//@class CanTransferOwnershipResult @description Represents result of checking whether the current session can be used to transfer a chat ownership to another user
|
||||||
|
|
||||||
//@description The session can be used
|
//@description The session can be used
|
||||||
|
@ -4642,6 +4858,15 @@ pushMessageContentPhoto photo:photo caption:string is_secret:Bool is_pinned:Bool
|
||||||
//@is_pinned True, if the message is a pinned message with the specified content
|
//@is_pinned True, if the message is a pinned message with the specified content
|
||||||
pushMessageContentPoll question:string is_regular:Bool is_pinned:Bool = PushMessageContent;
|
pushMessageContentPoll question:string is_regular:Bool is_pinned:Bool = PushMessageContent;
|
||||||
|
|
||||||
|
//@description A message with a Telegram Premium gift code created for the user @month_count Number of month the Telegram Premium subscription will be active after code activation
|
||||||
|
pushMessageContentPremiumGiftCode month_count:int32 = PushMessageContent;
|
||||||
|
|
||||||
|
//@description A message with a Telegram Premium giveaway
|
||||||
|
//@winner_count Number of users which will receive Telegram Premium subscription gift codes; 0 for pinned message
|
||||||
|
//@month_count Number of month the Telegram Premium subscription will be active after code activation; 0 for pinned message
|
||||||
|
//@is_pinned True, if the message is a pinned message with the specified content
|
||||||
|
pushMessageContentPremiumGiveaway winner_count:int32 month_count:int32 is_pinned:Bool = PushMessageContent;
|
||||||
|
|
||||||
//@description A screenshot of a message in the chat has been taken
|
//@description A screenshot of a message in the chat has been taken
|
||||||
pushMessageContentScreenshotTaken = PushMessageContent;
|
pushMessageContentScreenshotTaken = PushMessageContent;
|
||||||
|
|
||||||
|
@ -4733,7 +4958,7 @@ notificationTypeNewSecretChat = NotificationType;
|
||||||
notificationTypeNewCall call_id:int32 = NotificationType;
|
notificationTypeNewCall call_id:int32 = NotificationType;
|
||||||
|
|
||||||
//@description New message was received through a push notification
|
//@description New message was received through a push notification
|
||||||
//@message_id The message identifier. The message will not be available in the chat history, but the identifier can be used in viewMessages, or as a message to reply
|
//@message_id The message identifier. The message will not be available in the chat history, but the identifier can be used in viewMessages, or as a message to be replied in the same chat
|
||||||
//@sender_id Identifier of the sender of the message. Corresponding user or chat may be inaccessible
|
//@sender_id Identifier of the sender of the message. Corresponding user or chat may be inaccessible
|
||||||
//@sender_name Name of the sender
|
//@sender_name Name of the sender
|
||||||
//@is_outgoing True, if the message is outgoing
|
//@is_outgoing True, if the message is outgoing
|
||||||
|
@ -5111,7 +5336,7 @@ internalLinkTypeBotStartInGroup bot_username:string start_parameter:string admin
|
||||||
internalLinkTypeChangePhoneNumber = InternalLinkType;
|
internalLinkTypeChangePhoneNumber = InternalLinkType;
|
||||||
|
|
||||||
//@description The link is a link to boost a Telegram chat. Call getChatBoostLinkInfo with the given URL to process the link.
|
//@description The link is a link to boost a Telegram chat. Call getChatBoostLinkInfo with the given URL to process the link.
|
||||||
//-If the chat is found, then call getChatBoostStatus and canBoostChat to get the current boost status and check whether the chat can be boosted.
|
//-If the chat is found, then call getChatBoostStatus and getAvailableChatBoostSlots to get the current boost status and check whether the chat can be boosted.
|
||||||
//-If the user wants to boost the chat and the chat can be boosted, then call boostChat
|
//-If the user wants to boost the chat and the chat can be boosted, then call boostChat
|
||||||
//@url URL to be passed to getChatBoostLinkInfo
|
//@url URL to be passed to getChatBoostLinkInfo
|
||||||
internalLinkTypeChatBoost url:string = InternalLinkType;
|
internalLinkTypeChatBoost url:string = InternalLinkType;
|
||||||
|
@ -5173,6 +5398,10 @@ internalLinkTypePhoneNumberConfirmation hash:string phone_number:string = Intern
|
||||||
//@description The link is a link to the Premium features screen of the application from which the user can subscribe to Telegram Premium. Call getPremiumFeatures with the given referrer to process the link @referrer Referrer specified in the link
|
//@description The link is a link to the Premium features screen of the application from which the user can subscribe to Telegram Premium. Call getPremiumFeatures with the given referrer to process the link @referrer Referrer specified in the link
|
||||||
internalLinkTypePremiumFeatures referrer:string = InternalLinkType;
|
internalLinkTypePremiumFeatures referrer:string = InternalLinkType;
|
||||||
|
|
||||||
|
//@description The link is a link with a Telegram Premium gift code. Call checkPremiumGiftCode with the given code to process the link. If the code is valid and the user wants to apply it, then call applyPremiumGiftCode
|
||||||
|
//@code The Telegram Premium gift code
|
||||||
|
internalLinkTypePremiumGiftCode code:string = InternalLinkType;
|
||||||
|
|
||||||
//@description The link is a link to the privacy and security section of the app settings
|
//@description The link is a link to the privacy and security section of the app settings
|
||||||
internalLinkTypePrivacyAndSecuritySettings = InternalLinkType;
|
internalLinkTypePrivacyAndSecuritySettings = InternalLinkType;
|
||||||
|
|
||||||
|
@ -5507,6 +5736,9 @@ topChatCategoryCalls = TopChatCategory;
|
||||||
topChatCategoryForwardChats = TopChatCategory;
|
topChatCategoryForwardChats = TopChatCategory;
|
||||||
|
|
||||||
|
|
||||||
|
//@description Contains 0-based match position @position The position of the match
|
||||||
|
foundPosition position:int32 = FoundPosition;
|
||||||
|
|
||||||
//@description Contains 0-based positions of matched objects @total_count Total number of matched objects @positions The positions of the matched objects
|
//@description Contains 0-based positions of matched objects @total_count Total number of matched objects @positions The positions of the matched objects
|
||||||
foundPositions total_count:int32 positions:vector<int32> = FoundPositions;
|
foundPositions total_count:int32 positions:vector<int32> = FoundPositions;
|
||||||
|
|
||||||
|
@ -5816,12 +6048,18 @@ updateChatTitle chat_id:int53 title:string = Update;
|
||||||
//@description A chat photo was changed @chat_id Chat identifier @photo The new chat photo; may be null
|
//@description A chat photo was changed @chat_id Chat identifier @photo The new chat photo; may be null
|
||||||
updateChatPhoto chat_id:int53 photo:chatPhotoInfo = Update;
|
updateChatPhoto chat_id:int53 photo:chatPhotoInfo = Update;
|
||||||
|
|
||||||
|
//@description A chat accent color has changed @chat_id Chat identifier @accent_color_id The new chat accent color identifier
|
||||||
|
updateChatAccentColor chat_id:int53 accent_color_id:int32 = Update;
|
||||||
|
|
||||||
|
//@description A chat's custom emoji for reply background has changed @chat_id Chat identifier @background_custom_emoji_id The new tdentifier of a custom emoji to be shown on the reply header background
|
||||||
|
updateChatBackgroundCustomEmoji chat_id:int53 background_custom_emoji_id:int64 = Update;
|
||||||
|
|
||||||
//@description Chat permissions was changed @chat_id Chat identifier @permissions The new chat permissions
|
//@description Chat permissions was changed @chat_id Chat identifier @permissions The new chat permissions
|
||||||
updateChatPermissions chat_id:int53 permissions:chatPermissions = Update;
|
updateChatPermissions chat_id:int53 permissions:chatPermissions = Update;
|
||||||
|
|
||||||
//@description The last message of a chat was changed. If last_message is null, then the last message in the chat became unknown. Some new unknown messages might be added to the chat in this case
|
//@description The last message of a chat was changed
|
||||||
//@chat_id Chat identifier
|
//@chat_id Chat identifier
|
||||||
//@last_message The new last message in the chat; may be null
|
//@last_message The new last message in the chat; may be null if the last message became unknown. While the last message is unknown, new messages can be added to the chat without corresponding updateNewMessage update
|
||||||
//@positions The new chat positions in the chat lists
|
//@positions The new chat positions in the chat lists
|
||||||
updateChatLastMessage chat_id:int53 last_message:message positions:vector<chatPosition> = Update;
|
updateChatLastMessage chat_id:int53 last_message:message positions:vector<chatPosition> = Update;
|
||||||
|
|
||||||
|
@ -6099,6 +6337,12 @@ updateSelectedBackground for_dark_theme:Bool background:background = Update;
|
||||||
//@description The list of available chat themes has changed @chat_themes The new list of chat themes
|
//@description The list of available chat themes has changed @chat_themes The new list of chat themes
|
||||||
updateChatThemes chat_themes:vector<chatTheme> = Update;
|
updateChatThemes chat_themes:vector<chatTheme> = Update;
|
||||||
|
|
||||||
|
//@description The list of supported accent colors has changed
|
||||||
|
//@colors Information about supported colors; colors with identifiers 0 (red), 1 (orange), 2 (purple/violet), 3 (green), 4 (cyan), 5 (blue), 6 (pink) must always be supported
|
||||||
|
//-and aren't included in the list. The exact colors for the accent colors with identifiers 0-6 must be taken from the app theme
|
||||||
|
//@available_accent_color_ids The list of accent color identifiers, which can be set through setAccentColor and setChatAccentColor. The colors must be shown in the specififed order
|
||||||
|
updateAccentColors colors:vector<accentColor> available_accent_color_ids:vector<int32> = Update;
|
||||||
|
|
||||||
//@description Some language pack strings have been updated @localization_target Localization target to which the language pack belongs @language_pack_id Identifier of the updated language pack @strings List of changed language pack strings; empty if all strings have changed
|
//@description Some language pack strings have been updated @localization_target Localization target to which the language pack belongs @language_pack_id Identifier of the updated language pack @strings List of changed language pack strings; empty if all strings have changed
|
||||||
updateLanguagePackStrings localization_target:string language_pack_id:string strings:vector<languagePackString> = Update;
|
updateLanguagePackStrings localization_target:string language_pack_id:string strings:vector<languagePackString> = Update;
|
||||||
|
|
||||||
|
@ -6230,6 +6474,11 @@ updateChatMember chat_id:int53 actor_user_id:int53 date:int32 invite_link:chatIn
|
||||||
//@invite_link The invite link, which was used to send join request; may be null
|
//@invite_link The invite link, which was used to send join request; may be null
|
||||||
updateNewChatJoinRequest chat_id:int53 request:chatJoinRequest user_chat_id:int53 invite_link:chatInviteLink = Update;
|
updateNewChatJoinRequest chat_id:int53 request:chatJoinRequest user_chat_id:int53 invite_link:chatInviteLink = Update;
|
||||||
|
|
||||||
|
//@description A chat boost has changed; for bots only
|
||||||
|
//@chat_id Chat identifier
|
||||||
|
//@boost New information about the boost
|
||||||
|
updateChatBoost chat_id:int53 boost:chatBoost = Update;
|
||||||
|
|
||||||
|
|
||||||
//@description Contains a list of updates @updates List of updates
|
//@description Contains a list of updates @updates List of updates
|
||||||
updates updates:vector<Update> = Updates;
|
updates updates:vector<Update> = Updates;
|
||||||
|
@ -6772,20 +7021,19 @@ setChatMessageSender chat_id:int53 message_sender_id:MessageSender = Ok;
|
||||||
//@description Sends a message. Returns the sent message
|
//@description Sends a message. Returns the sent message
|
||||||
//@chat_id Target chat
|
//@chat_id Target chat
|
||||||
//@message_thread_id If not 0, a message thread identifier in which the message will be sent
|
//@message_thread_id If not 0, a message thread identifier in which the message will be sent
|
||||||
//@reply_to Identifier of the replied message or story; pass null if none
|
//@reply_to Information about the message or story to be replied; pass null if none
|
||||||
//@options Options to be used to send the message; pass null to use default options
|
//@options Options to be used to send the message; pass null to use default options
|
||||||
//@reply_markup Markup for replying to the message; pass null if none; for bots only
|
//@reply_markup Markup for replying to the message; pass null if none; for bots only
|
||||||
//@input_message_content The content of the message to be sent
|
//@input_message_content The content of the message to be sent
|
||||||
sendMessage chat_id:int53 message_thread_id:int53 reply_to:MessageReplyTo options:messageSendOptions reply_markup:ReplyMarkup input_message_content:InputMessageContent = Message;
|
sendMessage chat_id:int53 message_thread_id:int53 reply_to:InputMessageReplyTo options:messageSendOptions reply_markup:ReplyMarkup input_message_content:InputMessageContent = Message;
|
||||||
|
|
||||||
//@description Sends 2-10 messages grouped together into an album. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages
|
//@description Sends 2-10 messages grouped together into an album. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages
|
||||||
//@chat_id Target chat
|
//@chat_id Target chat
|
||||||
//@message_thread_id If not 0, a message thread identifier in which the messages will be sent
|
//@message_thread_id If not 0, a message thread identifier in which the messages will be sent
|
||||||
//@reply_to Identifier of the replied message or story; pass null if none
|
//@reply_to Information about the message or story to be replied; pass null if none
|
||||||
//@options Options to be used to send the messages; pass null to use default options
|
//@options Options to be used to send the messages; pass null to use default options
|
||||||
//@input_message_contents Contents of messages to be sent. At most 10 messages can be added to an album
|
//@input_message_contents Contents of messages to be sent. At most 10 messages can be added to an album
|
||||||
//@only_preview Pass true to get fake messages instead of actually sending them
|
sendMessageAlbum chat_id:int53 message_thread_id:int53 reply_to:InputMessageReplyTo options:messageSendOptions input_message_contents:vector<InputMessageContent> = Messages;
|
||||||
sendMessageAlbum chat_id:int53 message_thread_id:int53 reply_to:MessageReplyTo options:messageSendOptions input_message_contents:vector<InputMessageContent> only_preview:Bool = Messages;
|
|
||||||
|
|
||||||
//@description Invites a bot to a chat (if it is not yet a member) and sends it the /start command. Bots can't be invited to a private chat other than the chat with the bot. Bots can't be invited to channels (although they can be added as admins) and secret chats. Returns the sent message
|
//@description Invites a bot to a chat (if it is not yet a member) and sends it the /start command. Bots can't be invited to a private chat other than the chat with the bot. Bots can't be invited to channels (although they can be added as admins) and secret chats. Returns the sent message
|
||||||
//@bot_user_id Identifier of the bot
|
//@bot_user_id Identifier of the bot
|
||||||
|
@ -6796,37 +7044,37 @@ sendBotStartMessage bot_user_id:int53 chat_id:int53 parameter:string = Message;
|
||||||
//@description Sends the result of an inline query as a message. Returns the sent message. Always clears a chat draft message
|
//@description Sends the result of an inline query as a message. Returns the sent message. Always clears a chat draft message
|
||||||
//@chat_id Target chat
|
//@chat_id Target chat
|
||||||
//@message_thread_id If not 0, a message thread identifier in which the message will be sent
|
//@message_thread_id If not 0, a message thread identifier in which the message will be sent
|
||||||
//@reply_to Identifier of the replied message or story; pass null if none
|
//@reply_to Information about the message or story to be replied; pass null if none
|
||||||
//@options Options to be used to send the message; pass null to use default options
|
//@options Options to be used to send the message; pass null to use default options
|
||||||
//@query_id Identifier of the inline query
|
//@query_id Identifier of the inline query
|
||||||
//@result_id Identifier of the inline query result
|
//@result_id Identifier of the inline query result
|
||||||
//@hide_via_bot Pass true to hide the bot, via which the message is sent. Can be used only for bots getOption("animation_search_bot_username"), getOption("photo_search_bot_username"), and getOption("venue_search_bot_username")
|
//@hide_via_bot Pass true to hide the bot, via which the message is sent. Can be used only for bots getOption("animation_search_bot_username"), getOption("photo_search_bot_username"), and getOption("venue_search_bot_username")
|
||||||
sendInlineQueryResultMessage chat_id:int53 message_thread_id:int53 reply_to:MessageReplyTo options:messageSendOptions query_id:int64 result_id:string hide_via_bot:Bool = Message;
|
sendInlineQueryResultMessage chat_id:int53 message_thread_id:int53 reply_to:InputMessageReplyTo options:messageSendOptions query_id:int64 result_id:string hide_via_bot:Bool = Message;
|
||||||
|
|
||||||
//@description Forwards previously sent messages. Returns the forwarded messages in the same order as the message identifiers passed in message_ids. If a message can't be forwarded, null will be returned instead of the message
|
//@description Forwards previously sent messages. Returns the forwarded messages in the same order as the message identifiers passed in message_ids. If a message can't be forwarded, null will be returned instead of the message
|
||||||
//@chat_id Identifier of the chat to which to forward messages
|
//@chat_id Identifier of the chat to which to forward messages
|
||||||
//@message_thread_id If not 0, a message thread identifier in which the message will be sent; for forum threads only
|
//@message_thread_id If not 0, a message thread identifier in which the message will be sent; for forum threads only
|
||||||
//@from_chat_id Identifier of the chat from which to forward messages
|
//@from_chat_id Identifier of the chat from which to forward messages
|
||||||
//@message_ids Identifiers of the messages to forward. Message identifiers must be in a strictly increasing order. At most 100 messages can be forwarded simultaneously
|
//@message_ids Identifiers of the messages to forward. Message identifiers must be in a strictly increasing order. At most 100 messages can be forwarded simultaneously. A message can be forwarded only if message.can_be_forwarded
|
||||||
//@options Options to be used to send the messages; pass null to use default options
|
//@options Options to be used to send the messages; pass null to use default options
|
||||||
//@send_copy Pass true to copy content of the messages without reference to the original sender. Always true if the messages are forwarded to a secret chat or are local
|
//@send_copy Pass true to copy content of the messages without reference to the original sender. Always true if the messages are forwarded to a secret chat or are local
|
||||||
//@remove_caption Pass true to remove media captions of message copies. Ignored if send_copy is false
|
//@remove_caption Pass true to remove media captions of message copies. Ignored if send_copy is false
|
||||||
//@only_preview Pass true to get fake messages instead of actually forwarding them
|
forwardMessages chat_id:int53 message_thread_id:int53 from_chat_id:int53 message_ids:vector<int53> options:messageSendOptions send_copy:Bool remove_caption:Bool = Messages;
|
||||||
forwardMessages chat_id:int53 message_thread_id:int53 from_chat_id:int53 message_ids:vector<int53> options:messageSendOptions send_copy:Bool remove_caption:Bool only_preview:Bool = Messages;
|
|
||||||
|
|
||||||
//@description Resends messages which failed to send. Can be called only for messages for which messageSendingStateFailed.can_retry is true and after specified in messageSendingStateFailed.retry_after time passed.
|
//@description Resends messages which failed to send. Can be called only for messages for which messageSendingStateFailed.can_retry is true and after specified in messageSendingStateFailed.retry_after time passed.
|
||||||
//-If a message is re-sent, the corresponding failed to send message is deleted. Returns the sent messages in the same order as the message identifiers passed in message_ids. If a message can't be re-sent, null will be returned instead of the message
|
//-If a message is re-sent, the corresponding failed to send message is deleted. Returns the sent messages in the same order as the message identifiers passed in message_ids. If a message can't be re-sent, null will be returned instead of the message
|
||||||
//@chat_id Identifier of the chat to send messages
|
//@chat_id Identifier of the chat to send messages
|
||||||
//@message_ids Identifiers of the messages to resend. Message identifiers must be in a strictly increasing order
|
//@message_ids Identifiers of the messages to resend. Message identifiers must be in a strictly increasing order
|
||||||
resendMessages chat_id:int53 message_ids:vector<int53> = Messages;
|
//@quote New manually chosen quote from the message to be replied; pass null if none. Ignored if more than one message is re-sent, or if messageSendingStateFailed.need_another_reply_quote == false
|
||||||
|
resendMessages chat_id:int53 message_ids:vector<int53> quote:formattedText = Messages;
|
||||||
|
|
||||||
//@description Adds a local message to a chat. The message is persistent across application restarts only if the message database is used. Returns the added message
|
//@description Adds a local message to a chat. The message is persistent across application restarts only if the message database is used. Returns the added message
|
||||||
//@chat_id Target chat
|
//@chat_id Target chat
|
||||||
//@sender_id Identifier of the sender of the message
|
//@sender_id Identifier of the sender of the message
|
||||||
//@reply_to Identifier of the replied message or story; pass null if none
|
//@reply_to Information about the message or story to be replied; pass null if none
|
||||||
//@disable_notification Pass true to disable notification for the message
|
//@disable_notification Pass true to disable notification for the message
|
||||||
//@input_message_content The content of the message to be added
|
//@input_message_content The content of the message to be added
|
||||||
addLocalMessage chat_id:int53 sender_id:MessageSender reply_to:MessageReplyTo disable_notification:Bool input_message_content:InputMessageContent = Message;
|
addLocalMessage chat_id:int53 sender_id:MessageSender reply_to:InputMessageReplyTo disable_notification:Bool input_message_content:InputMessageContent = Message;
|
||||||
|
|
||||||
//@description Deletes messages @chat_id Chat identifier @message_ids Identifiers of the messages to be deleted @revoke Pass true to delete messages for all chat members. Always true for supergroups, channels and secret chats
|
//@description Deletes messages @chat_id Chat identifier @message_ids Identifiers of the messages to be deleted @revoke Pass true to delete messages for all chat members. Always true for supergroups, channels and secret chats
|
||||||
deleteMessages chat_id:int53 message_ids:vector<int53> revoke:Bool = Ok;
|
deleteMessages chat_id:int53 message_ids:vector<int53> revoke:Bool = Ok;
|
||||||
|
@ -7022,10 +7270,16 @@ getMessageAddedReactions chat_id:int53 message_id:int53 reaction_type:ReactionTy
|
||||||
setDefaultReactionType reaction_type:ReactionType = Ok;
|
setDefaultReactionType reaction_type:ReactionType = Ok;
|
||||||
|
|
||||||
|
|
||||||
|
//@description Searches for a given quote in a text. Returns found quote start position in UTF-16 code units. Returns a 404 error if the quote is not found. Can be called synchronously
|
||||||
|
//@text Text in which to search for the quote
|
||||||
|
//@quote Quote to search for
|
||||||
|
//@quote_position Approximate quote position in UTF-16 code units
|
||||||
|
searchQuote text:formattedText quote:formattedText quote_position:int32 = FoundPosition;
|
||||||
|
|
||||||
//@description Returns all entities (mentions, hashtags, cashtags, bot commands, bank card numbers, URLs, and email addresses) found in the text. Can be called synchronously @text The text in which to look for entities
|
//@description Returns all entities (mentions, hashtags, cashtags, bot commands, bank card numbers, URLs, and email addresses) found in the text. Can be called synchronously @text The text in which to look for entities
|
||||||
getTextEntities text:string = TextEntities;
|
getTextEntities text:string = TextEntities;
|
||||||
|
|
||||||
//@description Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text. Can be called synchronously @text The text to parse @parse_mode Text parse mode
|
//@description Parses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text. Can be called synchronously @text The text to parse @parse_mode Text parse mode
|
||||||
parseTextEntities text:string parse_mode:TextParseMode = FormattedText;
|
parseTextEntities text:string parse_mode:TextParseMode = FormattedText;
|
||||||
|
|
||||||
//@description Parses Markdown entities in a human-friendly format, ignoring markup errors. Can be called synchronously
|
//@description Parses Markdown entities in a human-friendly format, ignoring markup errors. Can be called synchronously
|
||||||
|
@ -7174,8 +7428,8 @@ sendWebAppData bot_user_id:int53 button_text:string data:string = Ok;
|
||||||
//@theme Preferred Web App theme; pass null to use the default theme
|
//@theme Preferred Web App theme; pass null to use the default theme
|
||||||
//@application_name Short name of the application; 0-64 English letters, digits, and underscores
|
//@application_name Short name of the application; 0-64 English letters, digits, and underscores
|
||||||
//@message_thread_id If not 0, a message thread identifier in which the message will be sent
|
//@message_thread_id If not 0, a message thread identifier in which the message will be sent
|
||||||
//@reply_to Identifier of the replied message or story for the message sent by the Web App; pass null if none
|
//@reply_to Information about the message or story to be replied in the message sent by the Web App; pass null if none
|
||||||
openWebApp chat_id:int53 bot_user_id:int53 url:string theme:themeParameters application_name:string message_thread_id:int53 reply_to:MessageReplyTo = WebAppInfo;
|
openWebApp chat_id:int53 bot_user_id:int53 url:string theme:themeParameters application_name:string message_thread_id:int53 reply_to:InputMessageReplyTo = WebAppInfo;
|
||||||
|
|
||||||
//@description Informs TDLib that a previously opened Web App was closed @web_app_launch_id Identifier of Web App launch, received from openWebApp
|
//@description Informs TDLib that a previously opened Web App was closed @web_app_launch_id Identifier of Web App launch, received from openWebApp
|
||||||
closeWebApp web_app_launch_id:int64 = Ok;
|
closeWebApp web_app_launch_id:int64 = Ok;
|
||||||
|
@ -7416,6 +7670,12 @@ setChatTitle chat_id:int53 title:string = Ok;
|
||||||
//@photo New chat photo; pass null to delete the chat photo
|
//@photo New chat photo; pass null to delete the chat photo
|
||||||
setChatPhoto chat_id:int53 photo:InputChatPhoto = Ok;
|
setChatPhoto chat_id:int53 photo:InputChatPhoto = Ok;
|
||||||
|
|
||||||
|
//@description Changes accent color and background custom emoji of a chat. Supported only for channels with getOption("channel_custom_accent_color_boost_level_min") boost level. Requires can_change_info administrator right
|
||||||
|
//@chat_id Chat identifier
|
||||||
|
//@accent_color_id Identifier of the accent color to use
|
||||||
|
//@background_custom_emoji_id Identifier of a custom emoji to be shown on the reply header background; 0 if none
|
||||||
|
setChatAccentColor chat_id:int53 accent_color_id:int32 background_custom_emoji_id:int64 = Ok;
|
||||||
|
|
||||||
//@description Changes the message auto-delete or self-destruct (for secret chats) time in a chat. Requires change_info administrator right in basic groups, supergroups and channels
|
//@description Changes the message auto-delete or self-destruct (for secret chats) time in a chat. Requires change_info administrator right in basic groups, supergroups and channels
|
||||||
//-Message auto-delete time can't be changed in a chat with the current user (Saved Messages) and the chat 777000 (Telegram).
|
//-Message auto-delete time can't be changed in a chat with the current user (Saved Messages) and the chat 777000 (Telegram).
|
||||||
//@chat_id Chat identifier
|
//@chat_id Chat identifier
|
||||||
|
@ -7716,14 +7976,14 @@ reportStory story_sender_chat_id:int53 story_id:int32 reason:ReportReason text:s
|
||||||
activateStoryStealthMode = Ok;
|
activateStoryStealthMode = Ok;
|
||||||
|
|
||||||
|
|
||||||
|
//@description Returns the list of available chat boost slots for the current user
|
||||||
|
getAvailableChatBoostSlots = ChatBoostSlots;
|
||||||
|
|
||||||
//@description Returns the current boost status for a channel chat @chat_id Identifier of the channel chat
|
//@description Returns the current boost status for a channel chat @chat_id Identifier of the channel chat
|
||||||
getChatBoostStatus chat_id:int53 = ChatBoostStatus;
|
getChatBoostStatus chat_id:int53 = ChatBoostStatus;
|
||||||
|
|
||||||
//@description Checks whether the current user can boost a chat @chat_id Identifier of the chat
|
//@description Boosts a chat and returns the list of available chat boost slots for the current user after the boost @chat_id Identifier of the chat @slot_ids Identifiers of boost slots of the current user from which to apply boosts to the chat
|
||||||
canBoostChat chat_id:int53 = CanBoostChatResult;
|
boostChat chat_id:int53 slot_ids:vector<int32> = ChatBoostSlots;
|
||||||
|
|
||||||
//@description Boosts a chat @chat_id Identifier of the chat
|
|
||||||
boostChat chat_id:int53 = Ok;
|
|
||||||
|
|
||||||
//@description Returns an HTTPS link to boost the specified channel chat @chat_id Identifier of the chat
|
//@description Returns an HTTPS link to boost the specified channel chat @chat_id Identifier of the chat
|
||||||
getChatBoostLink chat_id:int53 = ChatBoostLink;
|
getChatBoostLink chat_id:int53 = ChatBoostLink;
|
||||||
|
@ -7731,11 +7991,17 @@ getChatBoostLink chat_id:int53 = ChatBoostLink;
|
||||||
//@description Returns information about a link to boost a chat. Can be called for any internal link of the type internalLinkTypeChatBoost @url The link to boost a chat
|
//@description Returns information about a link to boost a chat. Can be called for any internal link of the type internalLinkTypeChatBoost @url The link to boost a chat
|
||||||
getChatBoostLinkInfo url:string = ChatBoostLinkInfo;
|
getChatBoostLinkInfo url:string = ChatBoostLinkInfo;
|
||||||
|
|
||||||
//@description Returns list of boosts applied to a chat. The user must be an administrator in the channel chat to get the list of boosts
|
//@description Returns list of boosts applied to a chat; requires administrator rights in the channel chat
|
||||||
//@chat_id Identifier of the chat
|
//@chat_id Identifier of the chat
|
||||||
|
//@only_gift_codes Pass true to receive only boosts received from gift codes and giveaways created by the chat
|
||||||
//@offset Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results
|
//@offset Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results
|
||||||
//@limit The maximum number of boosts to be returned; up to 100. For optimal performance, the number of returned boosts can be smaller than the specified limit
|
//@limit The maximum number of boosts to be returned; up to 100. For optimal performance, the number of returned boosts can be smaller than the specified limit
|
||||||
getChatBoosts chat_id:int53 offset:string limit:int32 = FoundChatBoosts;
|
getChatBoosts chat_id:int53 only_gift_codes:Bool offset:string limit:int32 = FoundChatBoosts;
|
||||||
|
|
||||||
|
//@description Returns list of boosts applied to a chat by a given user; requires administrator rights in the channel chat; for bots only
|
||||||
|
//@chat_id Identifier of the chat
|
||||||
|
//@user_id Identifier of the user
|
||||||
|
getUserChatBoosts chat_id:int53 user_id:int53 = FoundChatBoosts;
|
||||||
|
|
||||||
|
|
||||||
//@description Returns information about a bot that can be added to attachment or side menu @bot_user_id Bot's user identifier
|
//@description Returns information about a bot that can be added to attachment or side menu @bot_user_id Bot's user identifier
|
||||||
|
@ -8297,6 +8563,9 @@ getDefaultChatPhotoCustomEmojiStickers = Stickers;
|
||||||
//@description Returns default list of custom emoji stickers for placing on a profile photo
|
//@description Returns default list of custom emoji stickers for placing on a profile photo
|
||||||
getDefaultProfilePhotoCustomEmojiStickers = Stickers;
|
getDefaultProfilePhotoCustomEmojiStickers = Stickers;
|
||||||
|
|
||||||
|
//@description Returns default list of custom emoji stickers for reply background
|
||||||
|
getDefaultBackgroundCustomEmojiStickers = Stickers;
|
||||||
|
|
||||||
|
|
||||||
//@description Returns saved animations
|
//@description Returns saved animations
|
||||||
getSavedAnimations = Animations;
|
getSavedAnimations = Animations;
|
||||||
|
@ -8320,8 +8589,10 @@ searchHashtags prefix:string limit:int32 = Hashtags;
|
||||||
removeRecentHashtag hashtag:string = Ok;
|
removeRecentHashtag hashtag:string = Ok;
|
||||||
|
|
||||||
|
|
||||||
//@description Returns a web page preview by the text of the message. Do not call this function too often. Returns a 404 error if the web page has no preview @text Message text with formatting
|
//@description Returns a link preview by the text of a message. Do not call this function too often. Returns a 404 error if the text has no link preview
|
||||||
getWebPagePreview text:formattedText = WebPage;
|
//@text Message text with formatting
|
||||||
|
//@link_preview_options Options to be used for generation of the link preview; pass null to use default link preview options
|
||||||
|
getWebPagePreview text:formattedText link_preview_options:linkPreviewOptions = WebPage;
|
||||||
|
|
||||||
//@description Returns an instant view version of a web page if available. Returns a 404 error if the web page has no instant view page @url The web page URL @force_full Pass true to get full instant view for the web page
|
//@description Returns an instant view version of a web page if available. Returns a 404 error if the web page has no instant view page @url The web page URL @force_full Pass true to get full instant view for the web page
|
||||||
getWebPageInstantView url:string force_full:Bool = WebPageInstantView;
|
getWebPageInstantView url:string force_full:Bool = WebPageInstantView;
|
||||||
|
@ -8335,6 +8606,11 @@ setProfilePhoto photo:InputChatPhoto is_public:Bool = Ok;
|
||||||
//@description Deletes a profile photo @profile_photo_id Identifier of the profile photo to delete
|
//@description Deletes a profile photo @profile_photo_id Identifier of the profile photo to delete
|
||||||
deleteProfilePhoto profile_photo_id:int64 = Ok;
|
deleteProfilePhoto profile_photo_id:int64 = Ok;
|
||||||
|
|
||||||
|
//@description Changes accent color and background custom emoji for the current user; for Telegram Premium users only
|
||||||
|
//@accent_color_id Identifier of the accent color to use
|
||||||
|
//@background_custom_emoji_id Identifier of a custom emoji to be shown on the reply header background; 0 if none
|
||||||
|
setAccentColor accent_color_id:int32 background_custom_emoji_id:int64 = Ok;
|
||||||
|
|
||||||
//@description Changes the first and last name of the current user @first_name The new value of the first name for the current user; 1-64 characters @last_name The new value of the optional last name for the current user; 0-64 characters
|
//@description Changes the first and last name of the current user @first_name The new value of the first name for the current user; 1-64 characters @last_name The new value of the optional last name for the current user; 0-64 characters
|
||||||
setName first_name:string last_name:string = Ok;
|
setName first_name:string last_name:string = Ok;
|
||||||
|
|
||||||
|
@ -9007,6 +9283,26 @@ clickPremiumSubscriptionButton = Ok;
|
||||||
//@description Returns state of Telegram Premium subscription and promotion videos for Premium features
|
//@description Returns state of Telegram Premium subscription and promotion videos for Premium features
|
||||||
getPremiumState = PremiumState;
|
getPremiumState = PremiumState;
|
||||||
|
|
||||||
|
//@description Returns available options for Telegram Premium gift code or giveaway creation
|
||||||
|
//@boosted_chat_id Identifier of the channel chat, which will be automatically boosted by receivers of the gift codes and which is administered by the user; 0 if none
|
||||||
|
getPremiumGiftCodePaymentOptions boosted_chat_id:int53 = PremiumGiftCodePaymentOptions;
|
||||||
|
|
||||||
|
//@description Return information about a Telegram Premium gift code @code The code to check
|
||||||
|
checkPremiumGiftCode code:string = PremiumGiftCodeInfo;
|
||||||
|
|
||||||
|
//@description Applies a Telegram Premium gift code @code The code to apply
|
||||||
|
applyPremiumGiftCode code:string = Ok;
|
||||||
|
|
||||||
|
//@description Launches a prepaid Telegram Premium giveaway for subscribers of channel chats; requires can_post_messages rights in the channels
|
||||||
|
//@giveaway_id Unique identifier of the prepaid giveaway
|
||||||
|
//@parameters Giveaway parameters
|
||||||
|
launchPrepaidPremiumGiveaway giveaway_id:int64 parameters:premiumGiveawayParameters = Ok;
|
||||||
|
|
||||||
|
//@description Returns information about a Telegram Premium giveaway
|
||||||
|
//@chat_id Identifier of the channel chat which started the giveaway
|
||||||
|
//@message_id Identifier of the giveaway message in the chat
|
||||||
|
getPremiumGiveawayInfo chat_id:int53 message_id:int53 = PremiumGiveawayInfo;
|
||||||
|
|
||||||
//@description Checks whether Telegram Premium purchase is possible. Must be called before in-store Premium purchase @purpose Transaction purpose
|
//@description Checks whether Telegram Premium purchase is possible. Must be called before in-store Premium purchase @purpose Transaction purpose
|
||||||
canPurchasePremium purpose:StorePaymentPurpose = Ok;
|
canPurchasePremium purpose:StorePaymentPurpose = Ok;
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,7 @@ inputMediaGeoLive#971fa843 flags:# stopped:flags.0?true geo_point:InputGeoPoint
|
||||||
inputMediaPoll#f94e5f1 flags:# poll:Poll correct_answers:flags.0?Vector<bytes> solution:flags.1?string solution_entities:flags.1?Vector<MessageEntity> = InputMedia;
|
inputMediaPoll#f94e5f1 flags:# poll:Poll correct_answers:flags.0?Vector<bytes> solution:flags.1?string solution_entities:flags.1?Vector<MessageEntity> = InputMedia;
|
||||||
inputMediaDice#e66fbf7b emoticon:string = InputMedia;
|
inputMediaDice#e66fbf7b emoticon:string = InputMedia;
|
||||||
inputMediaStory#89fdd778 peer:InputPeer id:int = InputMedia;
|
inputMediaStory#89fdd778 peer:InputPeer id:int = InputMedia;
|
||||||
|
inputMediaWebPage#c21b8849 flags:# force_large_media:flags.0?true force_small_media:flags.1?true optional:flags.2?true url:string = InputMedia;
|
||||||
|
|
||||||
inputChatPhotoEmpty#1ca48f57 = InputChatPhoto;
|
inputChatPhotoEmpty#1ca48f57 = InputChatPhoto;
|
||||||
inputChatUploadedPhoto#bdcdaec0 flags:# file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double video_emoji_markup:flags.3?VideoSize = InputChatPhoto;
|
inputChatUploadedPhoto#bdcdaec0 flags:# file:flags.0?InputFile video:flags.1?InputFile video_start_ts:flags.2?double video_emoji_markup:flags.3?VideoSize = InputChatPhoto;
|
||||||
|
@ -102,7 +103,7 @@ storage.fileMp4#b3cea0e4 = storage.FileType;
|
||||||
storage.fileWebp#1081464c = storage.FileType;
|
storage.fileWebp#1081464c = storage.FileType;
|
||||||
|
|
||||||
userEmpty#d3bc4b7a id:long = User;
|
userEmpty#d3bc4b7a id:long = User;
|
||||||
user#abb5f120 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true premium:flags.28?true attach_menu_enabled:flags.29?true flags2:# bot_can_edit:flags2.1?true close_friend:flags2.2?true stories_hidden:flags2.3?true stories_unavailable:flags2.4?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector<RestrictionReason> bot_inline_placeholder:flags.19?string lang_code:flags.22?string emoji_status:flags.30?EmojiStatus usernames:flags2.0?Vector<Username> stories_max_id:flags2.5?int = User;
|
user#eb602f25 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true premium:flags.28?true attach_menu_enabled:flags.29?true flags2:# bot_can_edit:flags2.1?true close_friend:flags2.2?true stories_hidden:flags2.3?true stories_unavailable:flags2.4?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector<RestrictionReason> bot_inline_placeholder:flags.19?string lang_code:flags.22?string emoji_status:flags.30?EmojiStatus usernames:flags2.0?Vector<Username> stories_max_id:flags2.5?int color:flags2.7?int background_emoji_id:flags2.6?long = User;
|
||||||
|
|
||||||
userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto;
|
userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto;
|
||||||
userProfilePhoto#82d1f706 flags:# has_video:flags.0?true personal:flags.2?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = UserProfilePhoto;
|
userProfilePhoto#82d1f706 flags:# has_video:flags.0?true personal:flags.2?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = UserProfilePhoto;
|
||||||
|
@ -117,7 +118,7 @@ userStatusLastMonth#77ebc742 = UserStatus;
|
||||||
chatEmpty#29562865 id:long = Chat;
|
chatEmpty#29562865 id:long = Chat;
|
||||||
chat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat;
|
chat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat;
|
||||||
chatForbidden#6592a1a7 id:long title:string = Chat;
|
chatForbidden#6592a1a7 id:long title:string = Chat;
|
||||||
channel#94f592db flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector<Username> stories_max_id:flags2.4?int = Chat;
|
channel#1981ea7e flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector<Username> stories_max_id:flags2.4?int color:flags2.6?int background_emoji_id:flags2.5?long = Chat;
|
||||||
channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat;
|
channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat;
|
||||||
|
|
||||||
chatFull#c9d31138 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true translations_disabled:flags.19?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector<BotInfo> pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector<long> available_reactions:flags.18?ChatReactions = ChatFull;
|
chatFull#c9d31138 flags:# can_set_username:flags.7?true has_scheduled:flags.8?true translations_disabled:flags.19?true id:long about:string participants:ChatParticipants chat_photo:flags.2?Photo notify_settings:PeerNotifySettings exported_invite:flags.13?ExportedChatInvite bot_info:flags.3?Vector<BotInfo> pinned_msg_id:flags.6?int folder_id:flags.11?int call:flags.12?InputGroupCall ttl_period:flags.14?int groupcall_default_join_as:flags.15?Peer theme_emoticon:flags.16?string requests_pending:flags.17?int recent_requesters:flags.17?Vector<long> available_reactions:flags.18?ChatReactions = ChatFull;
|
||||||
|
@ -134,7 +135,7 @@ chatPhotoEmpty#37c1011c = ChatPhoto;
|
||||||
chatPhoto#1c6e1c11 flags:# has_video:flags.0?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = ChatPhoto;
|
chatPhoto#1c6e1c11 flags:# has_video:flags.0?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = ChatPhoto;
|
||||||
|
|
||||||
messageEmpty#90a6ca84 flags:# id:int peer_id:flags.0?Peer = Message;
|
messageEmpty#90a6ca84 flags:# id:int peer_id:flags.0?Peer = Message;
|
||||||
message#38116ee0 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true id:int from_id:flags.8?Peer peer_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector<RestrictionReason> ttl_period:flags.25?int = Message;
|
message#38116ee0 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true invert_media:flags.27?true id:int from_id:flags.8?Peer peer_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector<RestrictionReason> ttl_period:flags.25?int = Message;
|
||||||
messageService#2b085862 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?Peer peer_id:Peer reply_to:flags.3?MessageReplyHeader date:int action:MessageAction ttl_period:flags.25?int = Message;
|
messageService#2b085862 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true legacy:flags.19?true id:int from_id:flags.8?Peer peer_id:Peer reply_to:flags.3?MessageReplyHeader date:int action:MessageAction ttl_period:flags.25?int = Message;
|
||||||
|
|
||||||
messageMediaEmpty#3ded6320 = MessageMedia;
|
messageMediaEmpty#3ded6320 = MessageMedia;
|
||||||
|
@ -143,7 +144,7 @@ messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia;
|
||||||
messageMediaContact#70322949 phone_number:string first_name:string last_name:string vcard:string user_id:long = MessageMedia;
|
messageMediaContact#70322949 phone_number:string first_name:string last_name:string vcard:string user_id:long = MessageMedia;
|
||||||
messageMediaUnsupported#9f84f49e = MessageMedia;
|
messageMediaUnsupported#9f84f49e = MessageMedia;
|
||||||
messageMediaDocument#4cf4d72d flags:# nopremium:flags.3?true spoiler:flags.4?true document:flags.0?Document alt_document:flags.5?Document ttl_seconds:flags.2?int = MessageMedia;
|
messageMediaDocument#4cf4d72d flags:# nopremium:flags.3?true spoiler:flags.4?true document:flags.0?Document alt_document:flags.5?Document ttl_seconds:flags.2?int = MessageMedia;
|
||||||
messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia;
|
messageMediaWebPage#ddf10c3b flags:# force_large_media:flags.0?true force_small_media:flags.1?true manual:flags.3?true safe:flags.4?true webpage:WebPage = MessageMedia;
|
||||||
messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia;
|
messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia;
|
||||||
messageMediaGame#fdb19008 game:Game = MessageMedia;
|
messageMediaGame#fdb19008 game:Game = MessageMedia;
|
||||||
messageMediaInvoice#f6a548d3 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string extended_media:flags.4?MessageExtendedMedia = MessageMedia;
|
messageMediaInvoice#f6a548d3 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string extended_media:flags.4?MessageExtendedMedia = MessageMedia;
|
||||||
|
@ -151,6 +152,7 @@ messageMediaGeoLive#b940c666 flags:# geo:GeoPoint heading:flags.0?int period:int
|
||||||
messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia;
|
messageMediaPoll#4bd6e798 poll:Poll results:PollResults = MessageMedia;
|
||||||
messageMediaDice#3f7ee58b value:int emoticon:string = MessageMedia;
|
messageMediaDice#3f7ee58b value:int emoticon:string = MessageMedia;
|
||||||
messageMediaStory#68cb6283 flags:# via_mention:flags.1?true peer:Peer id:int story:flags.0?StoryItem = MessageMedia;
|
messageMediaStory#68cb6283 flags:# via_mention:flags.1?true peer:Peer id:int story:flags.0?StoryItem = MessageMedia;
|
||||||
|
messageMediaGiveaway#58260664 flags:# only_new_subscribers:flags.0?true channels:Vector<long> countries_iso2:flags.1?Vector<string> quantity:int months:int until_date:int = MessageMedia;
|
||||||
|
|
||||||
messageActionEmpty#b6aef7b0 = MessageAction;
|
messageActionEmpty#b6aef7b0 = MessageAction;
|
||||||
messageActionChatCreate#bd47cbad title:string users:Vector<long> = MessageAction;
|
messageActionChatCreate#bd47cbad title:string users:Vector<long> = MessageAction;
|
||||||
|
@ -191,6 +193,8 @@ messageActionSuggestProfilePhoto#57de635e photo:Photo = MessageAction;
|
||||||
messageActionRequestedPeer#fe77345d button_id:int peer:Peer = MessageAction;
|
messageActionRequestedPeer#fe77345d button_id:int peer:Peer = MessageAction;
|
||||||
messageActionSetChatWallPaper#bc44a927 wallpaper:WallPaper = MessageAction;
|
messageActionSetChatWallPaper#bc44a927 wallpaper:WallPaper = MessageAction;
|
||||||
messageActionSetSameChatWallPaper#c0787d6d wallpaper:WallPaper = MessageAction;
|
messageActionSetSameChatWallPaper#c0787d6d wallpaper:WallPaper = MessageAction;
|
||||||
|
messageActionGiftCode#d2cfdb0e flags:# via_giveaway:flags.0?true unclaimed:flags.2?true boost_peer:flags.1?Peer months:int slug:string = MessageAction;
|
||||||
|
messageActionGiveawayLaunch#332ba9ed = MessageAction;
|
||||||
|
|
||||||
dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog;
|
dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog;
|
||||||
dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog;
|
dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog;
|
||||||
|
@ -309,7 +313,7 @@ updateChatParticipantAdd#3dda5451 chat_id:long user_id:long inviter_id:long date
|
||||||
updateChatParticipantDelete#e32f3d77 chat_id:long user_id:long version:int = Update;
|
updateChatParticipantDelete#e32f3d77 chat_id:long user_id:long version:int = Update;
|
||||||
updateDcOptions#8e5e9873 dc_options:Vector<DcOption> = Update;
|
updateDcOptions#8e5e9873 dc_options:Vector<DcOption> = Update;
|
||||||
updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update;
|
updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update;
|
||||||
updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector<MessageEntity> = Update;
|
updateServiceNotification#ebe46819 flags:# popup:flags.0?true invert_media:flags.2?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector<MessageEntity> = Update;
|
||||||
updatePrivacy#ee3b272a key:PrivacyKey rules:Vector<PrivacyRule> = Update;
|
updatePrivacy#ee3b272a key:PrivacyKey rules:Vector<PrivacyRule> = Update;
|
||||||
updateUserPhone#5492a13 user_id:long phone:string = Update;
|
updateUserPhone#5492a13 user_id:long phone:string = Update;
|
||||||
updateReadHistoryInbox#9c974fdf flags:# folder_id:flags.0?int peer:Peer max_id:int still_unread_count:int pts:int pts_count:int = Update;
|
updateReadHistoryInbox#9c974fdf flags:# folder_id:flags.0?int peer:Peer max_id:int still_unread_count:int pts:int pts_count:int = Update;
|
||||||
|
@ -409,6 +413,7 @@ updateReadStories#f74e932b peer:Peer max_id:int = Update;
|
||||||
updateStoryID#1bf335b9 id:int random_id:long = Update;
|
updateStoryID#1bf335b9 id:int random_id:long = Update;
|
||||||
updateStoriesStealthMode#2c084dc1 stealth_mode:StoriesStealthMode = Update;
|
updateStoriesStealthMode#2c084dc1 stealth_mode:StoriesStealthMode = Update;
|
||||||
updateSentStoryReaction#7d627683 peer:Peer story_id:int reaction:Reaction = Update;
|
updateSentStoryReaction#7d627683 peer:Peer story_id:int reaction:Reaction = Update;
|
||||||
|
updateBotChatBoost#904dd49c peer:Peer boost:Boost qts:int = Update;
|
||||||
|
|
||||||
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
|
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
|
||||||
|
|
||||||
|
@ -569,9 +574,9 @@ messages.allStickers#cdbbcebb hash:long sets:Vector<StickerSet> = messages.AllSt
|
||||||
|
|
||||||
messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages;
|
messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages;
|
||||||
|
|
||||||
webPageEmpty#eb1477e8 id:long = WebPage;
|
webPageEmpty#211a1788 flags:# id:long url:flags.0?string = WebPage;
|
||||||
webPagePending#c586da1c id:long date:int = WebPage;
|
webPagePending#b0d13e47 flags:# id:long url:flags.0?string date:int = WebPage;
|
||||||
webPage#e89c45b2 flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector<WebPageAttribute> = WebPage;
|
webPage#e89c45b2 flags:# has_large_media:flags.13?true id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector<WebPageAttribute> = WebPage;
|
||||||
webPageNotModified#7311ca11 flags:# cached_page_views:flags.0?int = WebPage;
|
webPageNotModified#7311ca11 flags:# cached_page_views:flags.0?int = WebPage;
|
||||||
|
|
||||||
authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true encrypted_requests_disabled:flags.3?true call_requests_disabled:flags.4?true unconfirmed:flags.5?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization;
|
authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true encrypted_requests_disabled:flags.3?true call_requests_disabled:flags.4?true unconfirmed:flags.5?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization;
|
||||||
|
@ -592,7 +597,7 @@ chatInviteExported#ab4a819 flags:# revoked:flags.0?true permanent:flags.5?true r
|
||||||
chatInvitePublicJoinRequests#ed107ab7 = ExportedChatInvite;
|
chatInvitePublicJoinRequests#ed107ab7 = ExportedChatInvite;
|
||||||
|
|
||||||
chatInviteAlready#5a686d7c chat:Chat = ChatInvite;
|
chatInviteAlready#5a686d7c chat:Chat = ChatInvite;
|
||||||
chatInvite#300c44c1 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true request_needed:flags.6?true verified:flags.7?true scam:flags.8?true fake:flags.9?true title:string about:flags.5?string photo:Photo participants_count:int participants:flags.4?Vector<User> = ChatInvite;
|
chatInvite#cde0ec40 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true request_needed:flags.6?true verified:flags.7?true scam:flags.8?true fake:flags.9?true title:string about:flags.5?string photo:Photo participants_count:int participants:flags.4?Vector<User> color:int = ChatInvite;
|
||||||
chatInvitePeek#61695cb0 chat:Chat expires:int = ChatInvite;
|
chatInvitePeek#61695cb0 chat:Chat expires:int = ChatInvite;
|
||||||
|
|
||||||
inputStickerSetEmpty#ffb62b95 = InputStickerSet;
|
inputStickerSetEmpty#ffb62b95 = InputStickerSet;
|
||||||
|
@ -606,7 +611,7 @@ inputStickerSetEmojiGenericAnimations#4c4d4ce = InputStickerSet;
|
||||||
inputStickerSetEmojiDefaultStatuses#29d0f5ee = InputStickerSet;
|
inputStickerSetEmojiDefaultStatuses#29d0f5ee = InputStickerSet;
|
||||||
inputStickerSetEmojiDefaultTopicIcons#44c1f8e9 = InputStickerSet;
|
inputStickerSetEmojiDefaultTopicIcons#44c1f8e9 = InputStickerSet;
|
||||||
|
|
||||||
stickerSet#2dd14edc flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true videos:flags.6?true emojis:flags.7?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int thumb_document_id:flags.8?long count:int hash:int = StickerSet;
|
stickerSet#2dd14edc flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true videos:flags.6?true emojis:flags.7?true text_color:flags.9?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int thumb_document_id:flags.8?long count:int hash:int = StickerSet;
|
||||||
|
|
||||||
messages.stickerSet#6e153f16 set:StickerSet packs:Vector<StickerPack> keywords:Vector<StickerKeyword> documents:Vector<Document> = messages.StickerSet;
|
messages.stickerSet#6e153f16 set:StickerSet packs:Vector<StickerPack> keywords:Vector<StickerKeyword> documents:Vector<Document> = messages.StickerSet;
|
||||||
messages.stickerSetNotModified#d3f924eb = messages.StickerSet;
|
messages.stickerSetNotModified#d3f924eb = messages.StickerSet;
|
||||||
|
@ -656,10 +661,10 @@ messageEntityPhone#9b69e34b offset:int length:int = MessageEntity;
|
||||||
messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity;
|
messageEntityCashtag#4c4e743f offset:int length:int = MessageEntity;
|
||||||
messageEntityUnderline#9c4e7e8b offset:int length:int = MessageEntity;
|
messageEntityUnderline#9c4e7e8b offset:int length:int = MessageEntity;
|
||||||
messageEntityStrike#bf0693d4 offset:int length:int = MessageEntity;
|
messageEntityStrike#bf0693d4 offset:int length:int = MessageEntity;
|
||||||
messageEntityBlockquote#20df5d0 offset:int length:int = MessageEntity;
|
|
||||||
messageEntityBankCard#761e6af4 offset:int length:int = MessageEntity;
|
messageEntityBankCard#761e6af4 offset:int length:int = MessageEntity;
|
||||||
messageEntitySpoiler#32ca960f offset:int length:int = MessageEntity;
|
messageEntitySpoiler#32ca960f offset:int length:int = MessageEntity;
|
||||||
messageEntityCustomEmoji#c8cf05f8 offset:int length:int document_id:long = MessageEntity;
|
messageEntityCustomEmoji#c8cf05f8 offset:int length:int document_id:long = MessageEntity;
|
||||||
|
messageEntityBlockquote#20df5d0 offset:int length:int = MessageEntity;
|
||||||
|
|
||||||
inputChannelEmpty#ee8c1e86 = InputChannel;
|
inputChannelEmpty#ee8c1e86 = InputChannel;
|
||||||
inputChannel#f35aec28 channel_id:long access_hash:long = InputChannel;
|
inputChannel#f35aec28 channel_id:long access_hash:long = InputChannel;
|
||||||
|
@ -702,25 +707,27 @@ help.termsOfService#780a0310 flags:# popup:flags.0?true id:DataJSON text:string
|
||||||
messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs;
|
messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs;
|
||||||
messages.savedGifs#84a02a0d hash:long gifs:Vector<Document> = messages.SavedGifs;
|
messages.savedGifs#84a02a0d hash:long gifs:Vector<Document> = messages.SavedGifs;
|
||||||
|
|
||||||
inputBotInlineMessageMediaAuto#3380c786 flags:# message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
inputBotInlineMessageMediaAuto#3380c786 flags:# invert_media:flags.3?true message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
||||||
inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true invert_media:flags.3?true message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
||||||
inputBotInlineMessageMediaGeo#96929a85 flags:# geo_point:InputGeoPoint heading:flags.0?int period:flags.1?int proximity_notification_radius:flags.3?int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
inputBotInlineMessageMediaGeo#96929a85 flags:# geo_point:InputGeoPoint heading:flags.0?int period:flags.1?int proximity_notification_radius:flags.3?int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
||||||
inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
inputBotInlineMessageMediaVenue#417bbf11 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
||||||
inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
||||||
inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
||||||
inputBotInlineMessageMediaInvoice#d7e78225 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
inputBotInlineMessageMediaInvoice#d7e78225 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
||||||
|
inputBotInlineMessageMediaWebPage#bddcc510 flags:# invert_media:flags.3?true force_large_media:flags.4?true force_small_media:flags.5?true optional:flags.6?true message:string entities:flags.1?Vector<MessageEntity> url:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
|
||||||
|
|
||||||
inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult;
|
inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult;
|
||||||
inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult;
|
inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult;
|
||||||
inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult;
|
inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult;
|
||||||
inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult;
|
inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult;
|
||||||
|
|
||||||
botInlineMessageMediaAuto#764cf810 flags:# message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
|
botInlineMessageMediaAuto#764cf810 flags:# invert_media:flags.3?true message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
|
||||||
botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
|
botInlineMessageText#8c7f65e2 flags:# no_webpage:flags.0?true invert_media:flags.3?true message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
|
||||||
botInlineMessageMediaGeo#51846fd flags:# geo:GeoPoint heading:flags.0?int period:flags.1?int proximity_notification_radius:flags.3?int reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
|
botInlineMessageMediaGeo#51846fd flags:# geo:GeoPoint heading:flags.0?int period:flags.1?int proximity_notification_radius:flags.3?int reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
|
||||||
botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
|
botInlineMessageMediaVenue#8a86659c flags:# geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
|
||||||
botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
|
botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
|
||||||
botInlineMessageMediaInvoice#354a9b09 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument currency:string total_amount:long reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
|
botInlineMessageMediaInvoice#354a9b09 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument currency:string total_amount:long reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
|
||||||
|
botInlineMessageMediaWebPage#809ad9a6 flags:# invert_media:flags.3?true force_large_media:flags.4?true force_small_media:flags.5?true manual:flags.7?true safe:flags.8?true message:string entities:flags.1?Vector<MessageEntity> url:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
|
||||||
|
|
||||||
botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult;
|
botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult;
|
||||||
botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult;
|
botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult;
|
||||||
|
@ -776,7 +783,7 @@ contacts.topPeers#70b772a8 categories:Vector<TopPeerCategoryPeers> chats:Vector<
|
||||||
contacts.topPeersDisabled#b52c939d = contacts.TopPeers;
|
contacts.topPeersDisabled#b52c939d = contacts.TopPeers;
|
||||||
|
|
||||||
draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage;
|
draftMessageEmpty#1b0c841a flags:# date:flags.0?int = DraftMessage;
|
||||||
draftMessage#fd8e711f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int message:string entities:flags.3?Vector<MessageEntity> date:int = DraftMessage;
|
draftMessage#3fccf7ef flags:# no_webpage:flags.1?true invert_media:flags.6?true reply_to:flags.4?InputReplyTo message:string entities:flags.3?Vector<MessageEntity> media:flags.5?InputMedia date:int = DraftMessage;
|
||||||
|
|
||||||
messages.featuredStickersNotModified#c6dc0c66 count:int = messages.FeaturedStickers;
|
messages.featuredStickersNotModified#c6dc0c66 count:int = messages.FeaturedStickers;
|
||||||
messages.featuredStickers#be382906 flags:# premium:flags.0?true hash:long count:int sets:Vector<StickerSetCovered> unread:Vector<long> = messages.FeaturedStickers;
|
messages.featuredStickers#be382906 flags:# premium:flags.0?true hash:long count:int sets:Vector<StickerSetCovered> unread:Vector<long> = messages.FeaturedStickers;
|
||||||
|
@ -981,6 +988,8 @@ channelAdminLogEventActionEditTopic#f06fe208 prev_topic:ForumTopic new_topic:For
|
||||||
channelAdminLogEventActionDeleteTopic#ae168909 topic:ForumTopic = ChannelAdminLogEventAction;
|
channelAdminLogEventActionDeleteTopic#ae168909 topic:ForumTopic = ChannelAdminLogEventAction;
|
||||||
channelAdminLogEventActionPinTopic#5d8d353b flags:# prev_topic:flags.0?ForumTopic new_topic:flags.1?ForumTopic = ChannelAdminLogEventAction;
|
channelAdminLogEventActionPinTopic#5d8d353b flags:# prev_topic:flags.0?ForumTopic new_topic:flags.1?ForumTopic = ChannelAdminLogEventAction;
|
||||||
channelAdminLogEventActionToggleAntiSpam#64f36dfc new_value:Bool = ChannelAdminLogEventAction;
|
channelAdminLogEventActionToggleAntiSpam#64f36dfc new_value:Bool = ChannelAdminLogEventAction;
|
||||||
|
channelAdminLogEventActionChangeColor#3c2b247b prev_value:int new_value:int = ChannelAdminLogEventAction;
|
||||||
|
channelAdminLogEventActionChangeBackgroundEmoji#445fc434 prev_value:long new_value:long = ChannelAdminLogEventAction;
|
||||||
|
|
||||||
channelAdminLogEvent#1fad68cd id:long date:int user_id:long action:ChannelAdminLogEventAction = ChannelAdminLogEvent;
|
channelAdminLogEvent#1fad68cd id:long date:int user_id:long action:ChannelAdminLogEventAction = ChannelAdminLogEvent;
|
||||||
|
|
||||||
|
@ -1277,7 +1286,7 @@ messages.messageViews#b6c4f543 views:Vector<MessageViews> chats:Vector<Chat> use
|
||||||
|
|
||||||
messages.discussionMessage#a6341782 flags:# messages:Vector<Message> max_id:flags.0?int read_inbox_max_id:flags.1?int read_outbox_max_id:flags.2?int unread_count:int chats:Vector<Chat> users:Vector<User> = messages.DiscussionMessage;
|
messages.discussionMessage#a6341782 flags:# messages:Vector<Message> max_id:flags.0?int read_inbox_max_id:flags.1?int read_outbox_max_id:flags.2?int unread_count:int chats:Vector<Chat> users:Vector<User> = messages.DiscussionMessage;
|
||||||
|
|
||||||
messageReplyHeader#a6d57763 flags:# reply_to_scheduled:flags.2?true forum_topic:flags.3?true reply_to_msg_id:int reply_to_peer_id:flags.0?Peer reply_to_top_id:flags.1?int = MessageReplyHeader;
|
messageReplyHeader#6eebcabd flags:# reply_to_scheduled:flags.2?true forum_topic:flags.3?true quote:flags.9?true reply_to_msg_id:flags.4?int reply_to_peer_id:flags.0?Peer reply_from:flags.5?MessageFwdHeader reply_media:flags.8?MessageMedia reply_to_top_id:flags.1?int quote_text:flags.6?string quote_entities:flags.7?Vector<MessageEntity> = MessageReplyHeader;
|
||||||
messageReplyStoryHeader#9c98bfc1 user_id:long story_id:int = MessageReplyHeader;
|
messageReplyStoryHeader#9c98bfc1 user_id:long story_id:int = MessageReplyHeader;
|
||||||
|
|
||||||
messageReplies#83d60fc2 flags:# comments:flags.0?true replies:int replies_pts:int recent_repliers:flags.1?Vector<Peer> channel_id:flags.0?long max_id:flags.2?int read_max_id:flags.3?int = MessageReplies;
|
messageReplies#83d60fc2 flags:# comments:flags.0?true replies:int replies_pts:int recent_repliers:flags.1?Vector<Peer> channel_id:flags.0?long max_id:flags.2?int read_max_id:flags.3?int = MessageReplies;
|
||||||
|
@ -1427,6 +1436,7 @@ attachMenuPeerTypeBroadcast#7bfbdefc = AttachMenuPeerType;
|
||||||
|
|
||||||
inputInvoiceMessage#c5b56859 peer:InputPeer msg_id:int = InputInvoice;
|
inputInvoiceMessage#c5b56859 peer:InputPeer msg_id:int = InputInvoice;
|
||||||
inputInvoiceSlug#c326caef slug:string = InputInvoice;
|
inputInvoiceSlug#c326caef slug:string = InputInvoice;
|
||||||
|
inputInvoicePremiumGiftCode#98986c0d purpose:InputStorePaymentPurpose option:PremiumGiftCodeOption = InputInvoice;
|
||||||
|
|
||||||
payments.exportedInvoice#aed0cbd9 url:string = payments.ExportedInvoice;
|
payments.exportedInvoice#aed0cbd9 url:string = payments.ExportedInvoice;
|
||||||
|
|
||||||
|
@ -1436,6 +1446,8 @@ help.premiumPromo#5334759c status_text:string status_entities:Vector<MessageEnti
|
||||||
|
|
||||||
inputStorePaymentPremiumSubscription#a6751e66 flags:# restore:flags.0?true upgrade:flags.1?true = InputStorePaymentPurpose;
|
inputStorePaymentPremiumSubscription#a6751e66 flags:# restore:flags.0?true upgrade:flags.1?true = InputStorePaymentPurpose;
|
||||||
inputStorePaymentGiftPremium#616f7fe8 user_id:InputUser currency:string amount:long = InputStorePaymentPurpose;
|
inputStorePaymentGiftPremium#616f7fe8 user_id:InputUser currency:string amount:long = InputStorePaymentPurpose;
|
||||||
|
inputStorePaymentPremiumGiftCode#a3805f3f flags:# users:Vector<InputUser> boost_peer:flags.0?InputPeer currency:string amount:long = InputStorePaymentPurpose;
|
||||||
|
inputStorePaymentPremiumGiveaway#7c9375e6 flags:# only_new_subscribers:flags.0?true boost_peer:InputPeer additional_peers:flags.1?Vector<InputPeer> countries_iso2:flags.2?Vector<string> random_id:long until_date:int currency:string amount:long = InputStorePaymentPurpose;
|
||||||
|
|
||||||
premiumGiftOption#74c34319 flags:# months:int currency:string amount:long bot_url:string store_product:flags.0?string = PremiumGiftOption;
|
premiumGiftOption#74c34319 flags:# months:int currency:string amount:long bot_url:string store_product:flags.0?string = PremiumGiftOption;
|
||||||
|
|
||||||
|
@ -1567,7 +1579,7 @@ stories.storyViewsList#46e9b9ec flags:# count:int reactions_count:int views:Vect
|
||||||
|
|
||||||
stories.storyViews#de9eed1d views:Vector<StoryViews> users:Vector<User> = stories.StoryViews;
|
stories.storyViews#de9eed1d views:Vector<StoryViews> users:Vector<User> = stories.StoryViews;
|
||||||
|
|
||||||
inputReplyToMessage#9c5386e4 flags:# reply_to_msg_id:int top_msg_id:flags.0?int = InputReplyTo;
|
inputReplyToMessage#73ec805 flags:# reply_to_msg_id:int top_msg_id:flags.0?int reply_to_peer_id:flags.1?InputPeer quote_text:flags.2?string quote_entities:flags.3?Vector<MessageEntity> = InputReplyTo;
|
||||||
inputReplyToStory#15b0f283 user_id:InputUser story_id:int = InputReplyTo;
|
inputReplyToStory#15b0f283 user_id:InputUser story_id:int = InputReplyTo;
|
||||||
|
|
||||||
exportedStoryLink#3fc9053b link:string = ExportedStoryLink;
|
exportedStoryLink#3fc9053b link:string = ExportedStoryLink;
|
||||||
|
@ -1585,17 +1597,27 @@ peerStories#9a35e999 flags:# peer:Peer max_read_id:flags.0?int stories:Vector<St
|
||||||
|
|
||||||
stories.peerStories#cae68768 stories:PeerStories chats:Vector<Chat> users:Vector<User> = stories.PeerStories;
|
stories.peerStories#cae68768 stories:PeerStories chats:Vector<Chat> users:Vector<User> = stories.PeerStories;
|
||||||
|
|
||||||
stories.boostsStatus#e5c1aa5c flags:# my_boost:flags.2?true level:int current_level_boosts:int boosts:int next_level_boosts:flags.0?int premium_audience:flags.1?StatsPercentValue boost_url:string = stories.BoostsStatus;
|
|
||||||
|
|
||||||
stories.canApplyBoostOk#c3173587 = stories.CanApplyBoostResult;
|
|
||||||
stories.canApplyBoostReplace#712c4655 current_boost:Peer chats:Vector<Chat> = stories.CanApplyBoostResult;
|
|
||||||
|
|
||||||
booster#e9e6380 user_id:long expires:int = Booster;
|
|
||||||
|
|
||||||
stories.boostersList#f3dd3d1d flags:# count:int boosters:Vector<Booster> next_offset:flags.0?string users:Vector<User> = stories.BoostersList;
|
|
||||||
|
|
||||||
messages.webPage#fd5e12bd webpage:WebPage chats:Vector<Chat> users:Vector<User> = messages.WebPage;
|
messages.webPage#fd5e12bd webpage:WebPage chats:Vector<Chat> users:Vector<User> = messages.WebPage;
|
||||||
|
|
||||||
|
premiumGiftCodeOption#257e962b flags:# users:int months:int store_product:flags.0?string store_quantity:flags.1?int currency:string amount:long = PremiumGiftCodeOption;
|
||||||
|
|
||||||
|
payments.checkedGiftCode#b722f158 flags:# via_giveaway:flags.2?true from_id:Peer giveaway_msg_id:flags.3?int to_id:flags.0?long date:int months:int used_date:flags.1?int chats:Vector<Chat> users:Vector<User> = payments.CheckedGiftCode;
|
||||||
|
|
||||||
|
payments.giveawayInfo#4367daa0 flags:# participating:flags.0?true preparing_results:flags.3?true start_date:int joined_too_early_date:flags.1?int admin_disallowed_chat_id:flags.2?long disallowed_country:flags.4?string = payments.GiveawayInfo;
|
||||||
|
payments.giveawayInfoResults#cd5570 flags:# winner:flags.0?true refunded:flags.1?true start_date:int gift_code_slug:flags.0?string finish_date:int winners_count:int activated_count:int = payments.GiveawayInfo;
|
||||||
|
|
||||||
|
prepaidGiveaway#b2539d54 id:long months:int quantity:int date:int = PrepaidGiveaway;
|
||||||
|
|
||||||
|
boost#2a1c8c71 flags:# gift:flags.1?true giveaway:flags.2?true unclaimed:flags.3?true id:string user_id:flags.0?long giveaway_msg_id:flags.2?int date:int expires:int used_gift_slug:flags.4?string multiplier:flags.5?int = Boost;
|
||||||
|
|
||||||
|
premium.boostsList#86f8613c flags:# count:int boosts:Vector<Boost> next_offset:flags.0?string users:Vector<User> = premium.BoostsList;
|
||||||
|
|
||||||
|
myBoost#c448415c flags:# slot:int peer:flags.0?Peer date:int expires:int cooldown_until_date:flags.1?int = MyBoost;
|
||||||
|
|
||||||
|
premium.myBoosts#9ae228e2 my_boosts:Vector<MyBoost> chats:Vector<Chat> users:Vector<User> = premium.MyBoosts;
|
||||||
|
|
||||||
|
premium.boostsStatus#4959427a flags:# my_boost:flags.2?true level:int current_level_boosts:int boosts:int gift_boosts:flags.4?int next_level_boosts:flags.0?int premium_audience:flags.1?StatsPercentValue boost_url:string prepaid_giveaways:flags.3?Vector<PrepaidGiveaway> my_boost_slots:flags.2?Vector<int> = premium.BoostsStatus;
|
||||||
|
|
||||||
---functions---
|
---functions---
|
||||||
|
|
||||||
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
|
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
|
||||||
|
@ -1717,6 +1739,8 @@ account.getAutoSaveSettings#adcbbcda = account.AutoSaveSettings;
|
||||||
account.saveAutoSaveSettings#d69b8361 flags:# users:flags.0?true chats:flags.1?true broadcasts:flags.2?true peer:flags.3?InputPeer settings:AutoSaveSettings = Bool;
|
account.saveAutoSaveSettings#d69b8361 flags:# users:flags.0?true chats:flags.1?true broadcasts:flags.2?true peer:flags.3?InputPeer settings:AutoSaveSettings = Bool;
|
||||||
account.deleteAutoSaveExceptions#53bc0020 = Bool;
|
account.deleteAutoSaveExceptions#53bc0020 = Bool;
|
||||||
account.invalidateSignInCodes#ca8ae8ba codes:Vector<string> = Bool;
|
account.invalidateSignInCodes#ca8ae8ba codes:Vector<string> = Bool;
|
||||||
|
account.updateColor#a001cc43 flags:# color:int background_emoji_id:flags.0?long = Bool;
|
||||||
|
account.getDefaultBackgroundEmojis#a60ab9ce hash:long = EmojiList;
|
||||||
|
|
||||||
users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;
|
users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;
|
||||||
users.getFullUser#b60f5918 id:InputUser = users.UserFull;
|
users.getFullUser#b60f5918 id:InputUser = users.UserFull;
|
||||||
|
@ -1757,8 +1781,8 @@ messages.deleteHistory#b08f922a flags:# just_clear:flags.0?true revoke:flags.1?t
|
||||||
messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector<int> = messages.AffectedMessages;
|
messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector<int> = messages.AffectedMessages;
|
||||||
messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
|
messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
|
||||||
messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool;
|
messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool;
|
||||||
messages.sendMessage#280d096f flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true peer:InputPeer reply_to:flags.0?InputReplyTo message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
|
messages.sendMessage#280d096f flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
|
||||||
messages.sendMedia#72ccc23d flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true peer:InputPeer reply_to:flags.0?InputReplyTo media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
|
messages.sendMedia#72ccc23d flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
|
||||||
messages.forwardMessages#c661bbc4 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true noforwards:flags.14?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer top_msg_id:flags.9?int schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
|
messages.forwardMessages#c661bbc4 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true noforwards:flags.14?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer top_msg_id:flags.9?int schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
|
||||||
messages.reportSpam#cf1592db peer:InputPeer = Bool;
|
messages.reportSpam#cf1592db peer:InputPeer = Bool;
|
||||||
messages.getPeerSettings#efd9a6a2 peer:InputPeer = messages.PeerSettings;
|
messages.getPeerSettings#efd9a6a2 peer:InputPeer = messages.PeerSettings;
|
||||||
|
@ -1804,12 +1828,12 @@ messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_p
|
||||||
messages.setInlineBotResults#bb12a419 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector<InputBotInlineResult> cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM switch_webview:flags.4?InlineBotWebView = Bool;
|
messages.setInlineBotResults#bb12a419 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector<InputBotInlineResult> cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM switch_webview:flags.4?InlineBotWebView = Bool;
|
||||||
messages.sendInlineBotResult#f7bc68ba flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to:flags.0?InputReplyTo random_id:long query_id:long id:string schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
|
messages.sendInlineBotResult#f7bc68ba flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true hide_via:flags.11?true peer:InputPeer reply_to:flags.0?InputReplyTo random_id:long query_id:long id:string schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
|
||||||
messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData;
|
messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData;
|
||||||
messages.editMessage#48f71778 flags:# no_webpage:flags.1?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.15?int = Updates;
|
messages.editMessage#48f71778 flags:# no_webpage:flags.1?true invert_media:flags.16?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.15?int = Updates;
|
||||||
messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> = Bool;
|
messages.editInlineBotMessage#83557dba flags:# no_webpage:flags.1?true invert_media:flags.16?true id:InputBotInlineMessageID message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> = Bool;
|
||||||
messages.getBotCallbackAnswer#9342ca07 flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes password:flags.2?InputCheckPasswordSRP = messages.BotCallbackAnswer;
|
messages.getBotCallbackAnswer#9342ca07 flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes password:flags.2?InputCheckPasswordSRP = messages.BotCallbackAnswer;
|
||||||
messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool;
|
messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool;
|
||||||
messages.getPeerDialogs#e470bcfd peers:Vector<InputDialogPeer> = messages.PeerDialogs;
|
messages.getPeerDialogs#e470bcfd peers:Vector<InputDialogPeer> = messages.PeerDialogs;
|
||||||
messages.saveDraft#b4331e3f flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int top_msg_id:flags.2?int peer:InputPeer message:string entities:flags.3?Vector<MessageEntity> = Bool;
|
messages.saveDraft#7ff3b806 flags:# no_webpage:flags.1?true invert_media:flags.6?true reply_to:flags.4?InputReplyTo peer:InputPeer message:string entities:flags.3?Vector<MessageEntity> media:flags.5?InputMedia = Bool;
|
||||||
messages.getAllDrafts#6a3f8d65 = Updates;
|
messages.getAllDrafts#6a3f8d65 = Updates;
|
||||||
messages.getFeaturedStickers#64780b14 hash:long = messages.FeaturedStickers;
|
messages.getFeaturedStickers#64780b14 hash:long = messages.FeaturedStickers;
|
||||||
messages.readFeaturedStickers#5b118126 id:Vector<long> = Bool;
|
messages.readFeaturedStickers#5b118126 id:Vector<long> = Bool;
|
||||||
|
@ -1837,7 +1861,7 @@ messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool;
|
||||||
messages.getUnreadMentions#f107e790 flags:# peer:InputPeer top_msg_id:flags.0?int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
|
messages.getUnreadMentions#f107e790 flags:# peer:InputPeer top_msg_id:flags.0?int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
|
||||||
messages.readMentions#36e5bf4d flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;
|
messages.readMentions#36e5bf4d flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory;
|
||||||
messages.getRecentLocations#702a40e0 peer:InputPeer limit:int hash:long = messages.Messages;
|
messages.getRecentLocations#702a40e0 peer:InputPeer limit:int hash:long = messages.Messages;
|
||||||
messages.sendMultiMedia#456e8987 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true peer:InputPeer reply_to:flags.0?InputReplyTo multi_media:Vector<InputSingleMedia> schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
|
messages.sendMultiMedia#456e8987 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo multi_media:Vector<InputSingleMedia> schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
|
||||||
messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile;
|
messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile;
|
||||||
messages.searchStickerSets#35705b8a flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;
|
messages.searchStickerSets#35705b8a flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;
|
||||||
messages.getSplitRanges#1cff7e08 = Vector<MessageRange>;
|
messages.getSplitRanges#1cff7e08 = Vector<MessageRange>;
|
||||||
|
@ -2035,6 +2059,7 @@ channels.toggleAntiSpam#68f3e4eb channel:InputChannel enabled:Bool = Updates;
|
||||||
channels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int = Bool;
|
channels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int = Bool;
|
||||||
channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates;
|
channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates;
|
||||||
channels.clickSponsoredMessage#18afbc93 channel:InputChannel random_id:bytes = Bool;
|
channels.clickSponsoredMessage#18afbc93 channel:InputChannel random_id:bytes = Bool;
|
||||||
|
channels.updateColor#621a201f flags:# channel:InputChannel color:int background_emoji_id:flags.0?long = Updates;
|
||||||
|
|
||||||
bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;
|
bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;
|
||||||
bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;
|
bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;
|
||||||
|
@ -2064,6 +2089,11 @@ payments.exportInvoice#f91b065 invoice_media:InputMedia = payments.ExportedInvoi
|
||||||
payments.assignAppStoreTransaction#80ed747d receipt:bytes purpose:InputStorePaymentPurpose = Updates;
|
payments.assignAppStoreTransaction#80ed747d receipt:bytes purpose:InputStorePaymentPurpose = Updates;
|
||||||
payments.assignPlayMarketTransaction#dffd50d3 receipt:DataJSON purpose:InputStorePaymentPurpose = Updates;
|
payments.assignPlayMarketTransaction#dffd50d3 receipt:DataJSON purpose:InputStorePaymentPurpose = Updates;
|
||||||
payments.canPurchasePremium#9fc19eb6 purpose:InputStorePaymentPurpose = Bool;
|
payments.canPurchasePremium#9fc19eb6 purpose:InputStorePaymentPurpose = Bool;
|
||||||
|
payments.getPremiumGiftCodeOptions#2757ba54 flags:# boost_peer:flags.0?InputPeer = Vector<PremiumGiftCodeOption>;
|
||||||
|
payments.checkGiftCode#8e51b4c1 slug:string = payments.CheckedGiftCode;
|
||||||
|
payments.applyGiftCode#f6e26854 slug:string = Updates;
|
||||||
|
payments.getGiveawayInfo#f4239425 peer:InputPeer msg_id:int = payments.GiveawayInfo;
|
||||||
|
payments.launchPrepaidGiveaway#5ff58f20 peer:InputPeer giveaway_id:long purpose:InputStorePaymentPurpose = Updates;
|
||||||
|
|
||||||
stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true videos:flags.4?true emojis:flags.5?true text_color:flags.6?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
|
stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true videos:flags.4?true emojis:flags.5?true text_color:flags.6?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
|
||||||
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
|
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
|
||||||
|
@ -2157,7 +2187,9 @@ stories.getAllReadPeerStories#9b5ae7f9 = Updates;
|
||||||
stories.getPeerMaxIDs#535983c3 id:Vector<InputPeer> = Vector<int>;
|
stories.getPeerMaxIDs#535983c3 id:Vector<InputPeer> = Vector<int>;
|
||||||
stories.getChatsToSend#a56a8b60 = messages.Chats;
|
stories.getChatsToSend#a56a8b60 = messages.Chats;
|
||||||
stories.togglePeerStoriesHidden#bd0415c4 peer:InputPeer hidden:Bool = Bool;
|
stories.togglePeerStoriesHidden#bd0415c4 peer:InputPeer hidden:Bool = Bool;
|
||||||
stories.getBoostsStatus#4c449472 peer:InputPeer = stories.BoostsStatus;
|
|
||||||
stories.getBoostersList#337ef980 peer:InputPeer offset:string limit:int = stories.BoostersList;
|
premium.getBoostsList#60f67660 flags:# gifts:flags.0?true peer:InputPeer offset:string limit:int = premium.BoostsList;
|
||||||
stories.canApplyBoost#db05c1bd peer:InputPeer = stories.CanApplyBoostResult;
|
premium.getMyBoosts#be77b4a = premium.MyBoosts;
|
||||||
stories.applyBoost#f29d7c2b peer:InputPeer = Bool;
|
premium.applyBoost#6b7da746 flags:# slots:flags.0?Vector<int> peer:InputPeer = premium.MyBoosts;
|
||||||
|
premium.getBoostsStatus#42f1f61 peer:InputPeer = premium.BoostsStatus;
|
||||||
|
premium.getUserBoosts#39854d1f peer:InputPeer user_id:InputUser = premium.BoostsList;
|
||||||
|
|
Loading…
Reference in a new issue