- class pyrogram.raw.base.Update#
Object contains info on events occurred.
This base type has 111 constructors available.
The list of installed attachment menu entries » has changed, use messages.getAttachMenuBots to fetch the updated list.
Media autosave settings have changed and must be refetched using account.getAutoSaveSettings.
A callback button was pressed, and the button data was sent to the bot that created the button.
Someone has requested to join a chat or channel (bots only, users will receive an updatePendingJoinRequests, instead).
The command set of a certain bot in a certain chat has changed.
An incoming inline query.
The result of an inline query that was chosen by a user and sent to their chat partner.
The menu button behavior for the specified bot has changed.
This object contains information about an incoming pre-checkout query.
This object contains information about an incoming shipping query.
A bot was stopped or re-started.
A new incoming event; for bots only.
A new incoming query; for bots only.
A new channel is available.
The history of a channel/supergroup was hidden.
The forward counter of a message in a channel has changed.
The view counter of a message in a channel has changed.
A participant has left, joined, was banned or admined in a channel or supergroup.
A forum topic » was pinned or unpinned.
The pinned topics of a forum have changed.
The specified channel/supergroup messages were read.
There are new updates in the specified channel, the client must fetch them.
A user is typing in a supergroup, channel or message thread.
A webpage preview of a link in a channel/supergroup message was generated.
A new chat is available.
Default banned rights in a normal chat were updated.
A user has joined or left a specific chat.
New group member.
Admin permissions of a user in a basic group were changed.
A member has left the group.
Composition of chat participants changed.
The user is preparing a message in a group; typing, recording, uploading, etc.
The server-side configuration has changed; the client should re-fetch the config using help.getConfig.
All contacts were deleted.
Changes in the data center configuration options.
Some messages in a supergroup/channel were deleted.
Messages were deleted.
Some scheduled messages were deleted from the schedule queue of a chat.
A new folder was added.
New folder order.
Clients should update folder info.
A dialog was pinned/unpinned.
The manual unread mark of a chat was changed.
Notifies a change of a message draft.
A message was edited in a channel/supergroup.
A message was edited.
Interlocutor is typing a message in an encrypted chat.
Communication history in an encrypted chat was marked as read.
Change of state in an encrypted chat.
The list of favorited stickers was changed, the client should call messages.getFavedStickers to refetch the new list.
The peer list of a peer folder was updated.
Live geoposition message was viewed.
A new groupcall was started.
New WebRTC parameters.
The participant list of a certain group call has changed.
0-N updates of this type may be returned only when invoking messages.addChatUser, channels.inviteToChannel or messages.createChat: it indicates we couldn't add a user to a chat because of their privacy settings; if required, an invite link can be shared with the user, instead.
This notification is received by bots when a button is pressed.
Language pack updated.
A language pack has changed, the client should manually fetch the changed strings using langpack.getDifference.
A login token (for login via QR code) was accepted.
Layer 155 1 – Base layer2 – New userpic notifications3 – Send message can trigger link change4 – Check-in chats5 – Localized SMS, localized notifications6 – Foursquare integration7 – Added wallPaperSolid8 – Added end-to-end encryption9 – Improved big files upload perfomance10 – Improved chat participants updates11 – Improved secret chats12 – New dynamic support13 – Audio, video MIME; contacts import retry; new secret actions14 – Notify settings sync, blacklist sync15 – Modified getHistory offset behaviour16 – Split sendCode into 2 parts17 – Added custom typing, introduced message flags18 – Added usernames23 – Stickers for secret chats105 – Scheduled messages, Cloud themes108 – Login with QR code109 – Polls v2110 – People Nearby 2.0, Bank card entity111 – Folders, Broadcast Stats112 – Old featured stickers, generic dice, poll timer, poll solution113 – PSA114 – Video thumbs for GIFs115 – Peek Channel Invite116 – Group Stats, Profile Videos117 – WebRTC Phone Calls118 – Callback with 2FA, Countries list119 – Comments in channels, Threads, Anonymous Admins120 – Multipins, Message Stats, GeoLive v2121 – SVG-based Outlines for Stickers122 – Voice Chats123 – Voice Chat improvements124 – Expiring Invite links125 – Voice Chats in Broadcasts126 – Ban channels in channels127 – Payments in channels128 – Microthumbs for User/Chat profile photos129 – Video Chats130 – Custom placeholder for bot reply keyboards131 – Reset 2FA Password after a week132 – Chat themes133 – 64-bit IDs for User/Chat134 – Chat Requests, Shared Media Calendar135 – Send Message As a Channel136 – Reactions137 – Translations138 – GIF Sticker Packs139 – RTMP streaming140 – WebApps, Cloud Ringtones142 – TCP Reflectors143 – Premium Subscription, Cloud Invoices144 – Premium as a Gift, Custom Emoji145 – Custom Reactions, Statuses, Sign In with email146 – Extended Media147 – Keywords for Stickers148 – Groups with Topics149 – Pinned Topics150 – Fragment Phone Numbers, General Topics151 – Spoiler Photos, Userpics for Contacts152 – Rich Translations, Login via Firebase153 – Stickers API154 – Dates of Read Messages in Groups155 – Dates of Reactions More.
Sent message with random_id client identifier was assigned an identifier.
The results of a poll have changed.
A specific user has voted in a poll.
New message reactions » are available.
A stickerset was just moved to top.
A new message was sent in a channel/supergroup.
New encrypted message.
New message in a private chat or in a basic group.
A message was added to the schedule queue of a chat.
A new stickerset was installed.
Changes in notification settings.
A peer was blocked.
The Time-To-Live for messages sent by the current user in a specific chat has changed.
List of peers near you was updated.
Settings of a certain peer have changed.
Someone has requested to join a chat or channel.
An incoming phone call.
Incoming phone call signaling payload.
Messages were pinned/unpinned in a channel/supergroup.
Pinned dialogs were updated.
Some messages were pinned in a chat.
Privacy rules were changed.
Common message box sequence PTS has changed, state has to be refetched using updates.getState.
Incoming comments in a discussion thread were marked as read.
Outgoing comments in a discussion thread were marked as read.
Incoming messages in a channel/supergroup were read.
Outgoing messages in a channel/supergroup were read.
Some featured custom emoji stickers were marked as read.
Some featured stickers were marked as read.
Incoming messages were read.
Outgoing messages were read.
Contents of messages in the common message box were read.
The list of recent emoji statuses has changed.
The list of recent message reactions has changed.
The recent sticker list was updated.
The saved gif list has changed, the client should refetch it using messages.getSavedGifs.
The list of saved notification sounds has changed, use account.getSavedRingtones to fetch the new list.
A service message for the user.
Installed stickersets have changed, the client should refetch them as described in the docs.
The order of stickersets was changed.
A cloud theme was updated.
A pending voice message transcription » initiated with messages.transcribeAudio was updated.
User information was updated, it must be refetched using users.getFullUser.
The emoji status of a certain user has changed.
Changes the user's first name, last name and username.
A user's phone number was changed.
Contact status update.
The user is preparing a message; typing, recording, uploading, etc.
An instant view webpage preview was generated.
Indicates to a bot that a webview was closed and an inline message was sent on behalf of the user using messages.sendWebViewResultMessage.