From 8fbf58aa68d0cbb009f0c8027aebc05fd64fa61c Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 9 Mar 2022 18:42:44 +0000 Subject: [PATCH] Update content of files --- data/corefork.telegram.org/api/invites.html | 2 +- data/corefork.telegram.org/api/layers.html | 53 ----- .../api/push-updates.html | 211 +++--------------- 3 files changed, 34 insertions(+), 232 deletions(-) diff --git a/data/corefork.telegram.org/api/invites.html b/data/corefork.telegram.org/api/invites.html index 1635841fa9..0a85b0ba77 100644 --- a/data/corefork.telegram.org/api/invites.html +++ b/data/corefork.telegram.org/api/invites.html @@ -98,7 +98,7 @@ You can use channels.checkUsername

Private invite links can optionally have an expiration date, a usage limit, and can even be set to only allow users into the channel, supergroup or group upon explicit approval of an admin: see join requests » for more info.

Invite links match the following regex: @(?:t|telegram)\.(?:me|dog)/(joinchat/|\+)?([\w-]+)@i.
The first matching group can be passed to the hash parameter of messages.checkChatInvite to get info about the chat, and messages.importChatInvite to join the chat.
-messages.checkChatInvite may return chatInvitePeek, in which case the user may directly fetch chat messages using updates and messages.getHistory until the time indicated by the expires unixtime field.

+messages.checkChatInvite may return chatInvitePeek, in which case the user may directly fetch chat messages using updates, messages.getHistory and channels.getMessages until the time indicated by the expires unixtime field.

Newly created groups, supergroups and channel already have a default invite link.
To generate a new one, use messages.exportChatInvite.
To get info about existing chat invites, optionally filtering only links created by a given admin, use messages.getExportedChatInvites.
diff --git a/data/corefork.telegram.org/api/layers.html b/data/corefork.telegram.org/api/layers.html index 420e2333b6..ca17f49dab 100644 --- a/data/corefork.telegram.org/api/layers.html +++ b/data/corefork.telegram.org/api/layers.html @@ -1433,59 +1433,6 @@ Notice that all PINNED_* MESSAGE_QUIZ - {1} sent you a quiz {2}

  • Added PINNED_QUIZ - {1} pinned a quiz {2}
  • -
    Changed PUSH notifications
    -

    Schema

    messageFwdHeader#353a686b flags:# from_id:flags.0?int from_name:flags.5?string date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int psa_type:flags.6?string = MessageFwdHeader;
    help.promoDataEmpty#98f6ac75 expires:int = help.PromoData; diff --git a/data/corefork.telegram.org/api/push-updates.html b/data/corefork.telegram.org/api/push-updates.html index 065872bfb3..9d66b570cd 100644 --- a/data/corefork.telegram.org/api/push-updates.html +++ b/data/corefork.telegram.org/api/push-updates.html @@ -89,16 +89,34 @@ } }

    Each notification has several parameters that describe it.

    -

    Notification type

    -

    data.loc_key - A string literal in the form /[A-Z_0-9]+/, which summarizes the notification. For example, CHAT_MESSAGE_TEXT.

    -

    Notification text arguments

    -

    data.loc_args - A list or arguments which, when inserted into a template, produce a readable notification.

    -

    Custom parameters

    -

    data.custom - Parameters which are be passed into the application when a notification is opened.

    -

    Sound

    -

    data.sound - The name of an audio file to be played.

    -

    User id

    -

    data.user_id - ID of the account to which the PUSH notification should be delivered, in case of clients with multiple accounts active and running.

    +

    Processing notifications

    In principle, data.loc_key, data.custom, and an Internet connection are sufficient to generate a notification. Obviously, if possible, when generating a visual notification you need not use all of the transmitted data and may rely on the information already stored on the client. But if a user or a chat is not cached locally, the values passed in loc_args may also be used. data.user_id is the ID of the account to which the PUSH notification should be delivered, in case of clients with multiple accounts active and running.

    Service notifications

    @@ -142,6 +160,11 @@   Sent rarely, every 10th message in chats or once per 15 sec in PM, to update badge or download messages + +MESSAGE_ANNOUNCEMENT +data.announcement +Roughly equivalent to a message received from the service notifications (Telegram Notifications, id 777000) user, but must be delivered via push notifications, without contacting the API. +

    Possible Notifications

    @@ -151,7 +174,6 @@ Type Template example Arguments -Extra custom arguments @@ -159,973 +181,806 @@ AUTH_REGION New login from unrecognized device {1}, location: {2} 1. Device name
    2. Location -  AUTH_UNKNOWN New login from unrecognized device {1} 1. Device name -  CHANNEL_MESSAGES {1} posted an album 1. Message author -attachb64: Base64-encoded version of the attached media (related to the first message)
    channel_id: Channel/supergroup identifier (related to the first message)
    chat_from_id: Groups only, message author identifier (related to the first message)
    edit_date: When was the message last edited (related to the first message)
    mention: Whether the user was mentioned in the message (related to the first message)
    msg_id: ID of the message (related to the first message)
    silent: Whether the message was posted silently (no notification should be issued) (related to the first message) CHANNEL_MESSAGE_AUDIO {1} posted a voice message 1. Message author -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_CONTACT {1} posted a contact {2} 1. Message author
    2. Contact name -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_DOC {1} posted a file 1. Message author -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_DOCS {1} posted {2} files 1. Channel name
    2. Number of documents that were posted -attachb64: Base64-encoded version of the attached media (related to the first message)
    channel_id: Channel/supergroup identifier (related to the first message)
    chat_from_id: Groups only, message author identifier (related to the first message)
    edit_date: When was the message last edited (related to the first message)
    mention: Whether the user was mentioned in the message (related to the first message)
    msg_id: ID of the message (related to the first message)
    silent: Whether the message was posted silently (no notification should be issued) (related to the first message) CHANNEL_MESSAGE_FWDS {1} posted {2} forwarded messages 1. Message author
    2. Number of forwarded messages -attachb64: Base64-encoded version of the attached media (related to the first message)
    channel_id: Channel/supergroup identifier (related to the first message)
    chat_from_id: Groups only, message author identifier (related to the first message)
    edit_date: When was the message last edited (related to the first message)
    mention: Whether the user was mentioned in the message (related to the first message)
    msg_id: ID of the message (related to the first message)
    silent: Whether the message was posted silently (no notification should be issued) (related to the first message) CHANNEL_MESSAGE_GAME {1} invited you to play {2} 1. Message author
    2. Game name -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_GAME_SCORE {1} scored {3} in game {2} 1. User
    2. Game name
    3. Score -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_GEO {1} posted a location 1. Channel name -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_GEOLIVE {1} posted a live location 1. Channel name -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_GIF {1} posted a GIF 1. Channel name -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_NOTEXT {1} posted a message 1. Channel name -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_PHOTO {1} posted a photo 1. Channel name -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_PHOTOS {1} posted {2} photos 1. Channel name
    2. Number of photos that was sent -attachb64: Base64-encoded version of the attached media (related to the first message)
    channel_id: Channel/supergroup identifier (related to the first message)
    chat_from_id: Groups only, message author identifier (related to the first message)
    edit_date: When was the message last edited (related to the first message)
    mention: Whether the user was mentioned in the message (related to the first message)
    msg_id: ID of the message (related to the first message)
    silent: Whether the message was posted silently (no notification should be issued) (related to the first message) CHANNEL_MESSAGE_PLAYLIST {1} posted {2} music files 1. Channel name
    2. Number of audio files that were posted -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_POLL {1} posted a poll {2} 1. Channel name
    2. Poll name -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_QUIZ {1} posted a quiz {2} 1. Channel name
    2. Quiz name -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_ROUND {1} posted a video message 1. Channel name -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_STICKER {1} posted a {2} sticker 1. Channel name
    2. Sticker emoji -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_TEXT {1}: {2} 1. Channel name
    2. Message body -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_VIDEO {1} posted a video 1. Channel name -attachb64: Base64-encoded version of the attached media
    channel_id: Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHANNEL_MESSAGE_VIDEOS {1} posted {2} videos 1. Channel name
    2. Number of videos that were posted -attachb64: Base64-encoded version of the attached media (related to the first message)
    channel_id: Channel/supergroup identifier (related to the first message)
    chat_from_id: Groups only, message author identifier (related to the first message)
    edit_date: When was the message last edited (related to the first message)
    mention: Whether the user was mentioned in the message (related to the first message)
    msg_id: ID of the message (related to the first message)
    silent: Whether the message was posted silently (no notification should be issued) (related to the first message) CHAT_ADD_MEMBER {1} invited {3} to the group {2} 1. Message author
    2. Chat name
    3. New participant name -chat_id: chat identifier CHAT_ADD_YOU {1} invited you to the group {2} 1. User name
    2. Group name -chat_id: chat identifier CHAT_CREATED {1} invited you to the group {2} 1. Message author
    2. Chat name -chat_id: chat identifier CHAT_DELETE_MEMBER {1} removed {3} from the group {2} 1. Message author
    2. Chat name
    3. Dropped participant name -chat_id: chat identifier CHAT_DELETE_YOU {1} removed you from the group {2} 1. Message author
    2. Chat name -chat_id: chat identifier CHAT_JOINED {1} joined the group {2} 1. User name
    2. Group name -chat_id: chat identifier CHAT_LEFT {1} left the group {2} 1. Message author
    2. Chat name -chat_id: chat identifier CHAT_MESSAGES {1} sent an album to the group {2} 1. User name
    2. Group name -chat_from_id: Message author identifier
    chat_id: chat identifier
    mention: Whether the user was mentioned in the message CHAT_MESSAGE_AUDIO {1} sent a voice message to the group {2} 1. Message author
    2. Chat name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_CONTACT {1} shared a contact {3} in the group {2} 1. User name
    2. Group name
    3. Contact name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_DOC {1} sent a file to the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_DOCS {1} sent {3} files to the group {2} 1. User name
    2. Group name
    3. Number of documents that were sent -attachb64: Base64-encoded version of the attached media (related to the first message)
    chat_from_id: Groups only, message author identifier (related to the first message)
    chat_id: Chat identifier (related to the first message)
    edit_date: When was the message last edited (related to the first message)
    mention: Whether the user was mentioned in the message (related to the first message)
    msg_id: ID of the message (related to the first message)
    silent: Whether the message was posted silently (no notification should be issued) (related to the first message) CHAT_MESSAGE_FWDS {1} forwarded {3} messages to the group {2} 1. User name
    2. Group name
    3. Number of messages that were forwarded -attachb64: Base64-encoded version of the attached media (related to the first message)
    chat_from_id: Groups only, message author identifier (related to the first message)
    chat_id: Chat identifier (related to the first message)
    edit_date: When was the message last edited (related to the first message)
    mention: Whether the user was mentioned in the message (related to the first message)
    msg_id: ID of the message (related to the first message)
    silent: Whether the message was posted silently (no notification should be issued) (related to the first message) CHAT_MESSAGE_GAME {1} invited the group {2} to play {3} 1. User name
    2. Group name
    3. Game name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_GAME_SCORE {1} scored {4} in game {3} in the group {2} 1. User name
    2. Group name
    3. Game name
    4. Score -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_GEO {1} sent a location to the group {2} 1. Message author
    2. Chat name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_GEOLIVE {1} shared a live location with the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_GIF {1} sent a GIF to the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_INVOICE {1} sent an invoice to the group {2} for {3} 1. User name
    2. Group name
    3. Product name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_NOTEXT {1} sent a message to the group {2} 1. Message author
    2. Chat name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_PHOTO {1} sent a photo to the group {2} 1. Message author
    2. Chat name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_PHOTOS {1} sent {3} photos to the group {2} 1. User name
    2. Group name
    3. Number of photos that were sent -attachb64: Base64-encoded version of the attached media (related to the first message)
    chat_from_id: Groups only, message author identifier (related to the first message)
    chat_id: Chat identifier (related to the first message)
    edit_date: When was the message last edited (related to the first message)
    mention: Whether the user was mentioned in the message (related to the first message)
    msg_id: ID of the message (related to the first message)
    silent: Whether the message was posted silently (no notification should be issued) (related to the first message) CHAT_MESSAGE_PLAYLIST {1} sent {3} music files to the group {2} 1. User name
    2. Group name
    3. Number of audio files that were sent -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_POLL {1} sent a poll {3} to the group {2} 1. User name
    2. Group name
    3. Poll name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_QUIZ {1} sent a quiz {3} to the group {2} 1. User name
    2. Group name
    3. Quiz name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_ROUND {1} sent a video message to the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_STICKER {1} sent a {3} sticker to the group {2} 1. User name
    2. Group name
    3. Sticker emoji -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_TEXT {1} @ {2}: {3} 1. Message author
    2. Chat name
    3. Message body -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_VIDEO {1} sent a video to the group {2} 1. Message author
    2. Chat name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    chat_id: Chat identifier
    edit_date: When was the message last edited
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) CHAT_MESSAGE_VIDEOS {1} sent {3} videos to the group {2} 1. User name
    2. Group name
    3. Number of videos that were sent -attachb64: Base64-encoded version of the attached media (related to the first message)
    chat_from_id: Groups only, message author identifier (related to the first message)
    chat_id: Chat identifier (related to the first message)
    edit_date: When was the message last edited (related to the first message)
    mention: Whether the user was mentioned in the message (related to the first message)
    msg_id: ID of the message (related to the first message)
    silent: Whether the message was posted silently (no notification should be issued) (related to the first message) CHAT_PHOTO_EDITED {1} changed the group photo for {2} 1. Message author
    2. Chat name -chat_from_id: Message author identifier
    chat_id: chat identifier
    msg_id: ID of the message CHAT_REACT_AUDIO {1}: {3} to your voice message in {2} 1. User name
    2. Group name
    3. Reaction -  CHAT_REACT_CONTACT {1}: {3} to your contact {4} in {2} 1. User name
    2. Group name
    3. Reaction
    4. Contact name -  CHAT_REACT_DOC {1}: {3} to your file in {2} 1. User name
    2. Group name
    3. Reaction -  CHAT_REACT_GAME {1}: {3} to your game in {2} 1. User name
    2. Group name
    3. Reaction -  CHAT_REACT_GEO {1}: {3} to your map in {2} 1. User name
    2. Group name
    3. Reaction -  CHAT_REACT_GEOLIVE {1}: {3} to your live location in {2} 1. User name
    2. Group name
    3. Reaction -  CHAT_REACT_GIF {1}: {3} to your GIF in {2} 1. User name
    2. Group name
    3. Reaction -  CHAT_REACT_INVOICE {1}: {3} to your invoice in {2} 1. User name
    2. Group name
    3. Reaction -  CHAT_REACT_NOTEXT {1}: {3} to your message in {2} 1. User name
    2. Group name
    3. Reaction -  CHAT_REACT_PHOTO {1}: {3} to your photo in {2} 1. User name
    2. Group name
    3. Reaction -  CHAT_REACT_POLL {1}: {3} to your poll {4} in {2} 1. User name
    2. Group name
    3. Reaction
    4. Poll name -  CHAT_REACT_QUIZ {1}: {3} to your quiz {4} in {2} 1. User name
    2. Group name
    3. Reaction
    4. Quiz name -  CHAT_REACT_ROUND {1}: {3} to your video message in {2} 1. User name
    2. Group name
    3. Reaction -  CHAT_REACT_STICKER {1}: {3} to your {4} sticker in {2} 1. User name
    2. Group name
    3. Reaction
    4. Sticker emoji -  CHAT_REACT_TEXT {1}: {3} in {2} to your "{4}" 1. User name
    2. Group name
    3. Reaction
    4. Message body -  CHAT_REACT_VIDEO {1}: {3} to your video in {2} 1. User name
    2. Group name
    3. Reaction -  CHAT_REQ_JOINED {2} {1} was accepted into the group -1. User name
    2. Chat name CHAT_RETURNED {1} returned to the group {2} 1. Message author
    2. Chat name -chat_id: chat identifier CHAT_TITLE_EDITED {1} renamed the group {2} 1. User name
    2. Group name -chat_id: chat identifier CHAT_VOICECHAT_END {1} ended a voice chat in the group {2} 1. User name
    2. Chat name -  CHAT_VOICECHAT_INVITE {1} invited {3} to a voice chat in the group {2} 1. User name
    2. Chat name
    3. Invited users -  CHAT_VOICECHAT_INVITE_YOU {1} invited you to a voice chat in the group {2} 1. User name
    2. Chat name -  CHAT_VOICECHAT_START {1} started a voice chat in the group {2} 1. User name
    2. Chat name -  CONTACT_JOINED {1} joined Telegram! 1. Contact name -contact_id: contact identifier ENCRYPTED_MESSAGE You have a new message   -encryption_id: secret chat identifier
    random_id: message identifier ENCRYPTION_ACCEPT You have a new message   -encryption_id: secret chat identifier ENCRYPTION_REQUEST You have a new message   -encryption_id: secret chat identifier LOCKED_MESSAGE You have a new message   -  MESSAGES {1} sent you an album 1. User name -from_id: author identifier - - -MESSAGE_ANNOUNCEMENT -{1} -1. Announcement -announcement: Announcement: roughly equivalent to a message received from the service notifications (Telegram Notifications, id 777000) user, but must be delivered via push notifications, without contacting the API. MESSAGE_AUDIO {1} sent you a voice message 1. Message author -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_CONTACT {1} shared a contact {2} with you 1. User name
    2. Contact name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_DOC {1} sent you a file 1. User name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_DOCS {1} sent you {2} files 1. User name
    2. Number of documents that were sent -attachb64: Base64-encoded version of the attached media (related to the first message)
    chat_from_id: Groups only, message author identifier (related to the first message)
    edit_date: When was the message last edited (related to the first message)
    from_id: Author identifier (related to the first message)
    mention: Whether the user was mentioned in the message (related to the first message)
    msg_id: ID of the message (related to the first message)
    silent: Whether the message was posted silently (no notification should be issued) (related to the first message) MESSAGE_FWDS {1} forwarded you {2} messages 1. User name
    2. Number of messages that were forwarded -attachb64: Base64-encoded version of the attached media (related to the first message)
    chat_from_id: Groups only, message author identifier (related to the first message)
    edit_date: When was the message last edited (related to the first message)
    from_id: Author identifier (related to the first message)
    mention: Whether the user was mentioned in the message (related to the first message)
    msg_id: ID of the message (related to the first message)
    silent: Whether the message was posted silently (no notification should be issued) (related to the first message) MESSAGE_GAME {1} invited you to play {2} 1. User name
    2. Game name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_GAME_SCORE {1} scored {3} in game {2} 1. User name
    2. Game name
    3. Score -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_GEO {1} sent you a location 1. Message author -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_GEOLIVE {1} sent you a live location 1. User name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_GIF {1} sent you a GIF 1. User name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_INVOICE {1} sent you an invoice for {2} 1. User name
    2. Product -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_NOTEXT {1} sent you a message 1. Message author -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_PHOTO {1} sent you a photo 1. Message author -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_PHOTOS {1} sent you {2} photos 1. User name
    2. Number of photos that were sent -attachb64: Base64-encoded version of the attached media (related to the first message)
    chat_from_id: Groups only, message author identifier (related to the first message)
    edit_date: When was the message last edited (related to the first message)
    from_id: Author identifier (related to the first message)
    mention: Whether the user was mentioned in the message (related to the first message)
    msg_id: ID of the message (related to the first message)
    silent: Whether the message was posted silently (no notification should be issued) (related to the first message) MESSAGE_PHOTO_SECRET {1} sent you a self-destructing photo 1. User name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_PLAYLIST {1} sent you {2} music files 1. User name
    2. Number of audio files that were sent -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_POLL {1} sent you a poll {2} 1. User name
    2. Poll name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_QUIZ {1} sent you a quiz {2} 1. User name
    2. Quiz name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_ROUND {1} sent you a video message 1. User name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_SCREENSHOT {1} took a screenshot 1. User name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_STICKER {1} sent you a {2} sticker 1. User name
    2. Sticker emoji -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_TEXT {1}: {2} 1. Message author
    2. Message body -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_VIDEO {1} sent you a video 1. Message author -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) MESSAGE_VIDEOS {1} sent you {2} videos 1. User name
    2. Number of videos that were sent -attachb64: Base64-encoded version of the attached media (related to the first message)
    chat_from_id: Groups only, message author identifier (related to the first message)
    edit_date: When was the message last edited (related to the first message)
    from_id: Author identifier (related to the first message)
    mention: Whether the user was mentioned in the message (related to the first message)
    msg_id: ID of the message (related to the first message)
    silent: Whether the message was posted silently (no notification should be issued) (related to the first message) MESSAGE_VIDEO_SECRET {1} sent you a self-destructing video 1. User name -attachb64: Base64-encoded version of the attached media
    chat_from_id: Groups only, message author identifier
    edit_date: When was the message last edited
    from_id: Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    scheduled: Whether this is a scheduled message
    silent: Whether the message was posted silently (no notification should be issued) PHONE_CALL_MISSED You missed a call from {1} 1. User name -  PHONE_CALL_REQUEST {1} is calling you! 1. User name -call_ah: Call access hash
    call_id: Call ID PINNED_AUDIO {1} pinned a voice message 1. User name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_AUDIO {1} pinned a voice message in the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_CONTACT {1} pinned a contact {2} 1. User name
    2. Contact name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_CONTACT {1} pinned a contact {3} in the group {2} 1. User name
    2. Group name
    3. Contact name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_DOC {1} pinned a file 1. User name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_DOC {1} pinned a file in the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_GAME {1} pinned a game 1. User name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_GAME {1} pinned a game in the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_GAME_SCORE {1} pinned a game score 1. User name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_GAME_SCORE {1} pinned a game score in the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_GEO {1} pinned a map 1. User name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_GEO {1} pinned a map in the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_GEOLIVE {1} pinned a live location 1. User name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_GEOLIVE {1} pinned a live location in the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_GIF {1} pinned a GIF 1. User name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_GIF {1} pinned a GIF in the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_INVOICE {1} pinned an invoice 1. User name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_INVOICE {1} pinned an invoice in the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_NOTEXT {1} pinned a message 1. User name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_NOTEXT {1} pinned a message in the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_PHOTO {1} pinned a photo 1. User name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_PHOTO {1} pinned a photo in the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_POLL {1} pinned a poll {2} 1. User name
    2. Poll name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_POLL {1} pinned a poll {3} in the group {2} 1. User name
    2. Group name
    3. Poll name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_QUIZ {1} pinned a quiz {2} 1. User name
    2. Quiz name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_QUIZ {1} pinned a quiz {3} in the group {2} 1. User name
    2. Group name
    3. Quiz name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_ROUND {1} pinned a video message 1. User name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_ROUND {1} pinned a video message in the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_STICKER {1} pinned a {2} sticker 1. User name
    2. Sticker emoji -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_STICKER {1} pinned a {3} sticker in the group {2} 1. User name
    2. Group name
    3. Sticker emoji -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_TEXT {1} pinned "{2}" 1. User name
    2. Message body -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_TEXT {1} pinned "{3}" in the group {2} 1. User name
    2. Group name
    3. Message body -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_VIDEO {1} pinned a video 1. User name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) PINNED_VIDEO {1} pinned a video in the group {2} 1. User name
    2. Group name -attachb64: Base64-encoded version of the attached media
    channel_id: For channels and supergroups, Channel/supergroup identifier
    chat_from_id: Groups only, message author identifier
    chat_id: For chats, Chat identifier
    edit_date: When was the message last edited
    from_id: For PMs, Author identifier
    mention: Whether the user was mentioned in the message
    msg_id: ID of the message
    silent: Whether the message was posted silently (no notification should be issued) REACT_AUDIO {1}: {2} to your voice message 1. User name
    2. Reaction -  REACT_CONTACT {1}: {2} to your contact {3} 1. User name
    2. Reaction
    3. Contact name -  REACT_DOC {1}: {2} to your file 1. User name
    2. Reaction -  REACT_GAME {1}: {2} to your game 1. User name
    2. Reaction -  REACT_GEO {1}: {2} to your map 1. User name
    2. Reaction -  REACT_GEOLIVE {1}: {2} to your live location 1. User name
    2. Reaction -  REACT_GIF {1}: {2} to your GIF 1. User name
    2. Reaction -  REACT_INVOICE {1}: {2} to your invoice 1. User name
    2. Reaction -  REACT_NOTEXT {1}: {2} to your message 1. User name
    2. Reaction -  REACT_PHOTO {1}: {2} to your photo 1. User name
    2. Reaction -  REACT_POLL {1}: {2} to your poll {3} 1. User name
    2. Reaction
    3. Poll name -  REACT_QUIZ {1}: {2} to your quiz {3} 1. User name
    2. Reaction
    3. Quiz name -  REACT_ROUND {1}: {2} to your video message 1. User name
    2. Reaction -  REACT_STICKER {1}: {2} to your {3} sticker 1. User name
    2. Reaction
    3. Sticker emoji -  REACT_TEXT {1}: {2} to your "{3}" 1. User name
    2. Reaction
    3. Message body -  REACT_VIDEO {1}: {2} to your video 1. User name
    2. Reaction -