Update¶
-
class
pyrogram.raw.base.
Update
¶ Object contains info on events occured.
- Constructors
This base type has 91 constructors available.
A callback button was pressed, and the button data was sent to the bot that created the button.
An incoming inline query.
The result of an inline query that was chosen by a user and sent to their chat partner.
This object contains information about an incoming pre-checkout query.
This object contains information about an incoming shipping query.
Constructor type of
Update
.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.
Constructor type of
Update
.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.
Constructor type of
Update
.Default banned rights in a normal chat were updated.
Constructor type of
Update
.New group member.
Admin permissions of a user in a legacy 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.
Constructor type of
Update
.Constructor type of
Update
.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.
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.
A new message was sent in a channel/supergroup.
New encrypted message.
New message in a private chat or in a legacy 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.
Constructor type of
Update
.List of peers near you was updated.
Settings of a certain peer have changed.
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 stickers were marked as read.
Incoming messages were read.
Outgoing messages were read.
Contents of messages in the common message box were read.
The recent sticker list was updated.
The saved gif list has changed, the client should refetch it using messages.getSavedGifs.
A service message for the user.
Installed stickersets have changed, the client should refetch them using messages.getAllStickers.
The order of stickersets was changed.
A cloud theme was updated.
Changes the user’s first name, last name and username.
A user’s phone number was changed.
Change of contact’s profile photo.
Contact status update.
The user is preparing a message; typing, recording, uploading, etc.
An instant view webpage preview was generated.