UpdateShort#
- class pyrogram.raw.types.UpdateShort#
Shortened constructor containing info on one update not requiring auxiliary data.
Constructor of
Updates
.- Details:
Layer:
158
ID:
78D4DEC1
- Parameters:
update (
Update
) – Update.date (
int
32-bit
) – Date of event.
- Functions:
This object can be returned by 87 functions.
Returns list of chats with non-default notification settings.
Deletes several contacts from the list.
Add an existing telegram user as contact.
If the add contact action bar is active, add that user as contact.
Get users and geochats near you, see here » for more info.
Stop getting notifications about discussion replies of a certain user in @replies.
Sends a message to a chat.
Send a media.
Forwards messages by their IDs.
Changes chat name and sends a service message on it.
Changes chat photo and sends a service message on it.
Adds a user to a chat and sends a service message on it.
Deletes a user from a chat and sends a service message on it.
Creates a new chat.
Import a chat invite and join a private chat/supergroup/channel.
Start a conversation with a bot using a deep linking parameter.
Turn a basic group into a supergroup.
Send a result obtained using messages.getInlineBotResults.
Edit message.
Return all message drafts.
Use this method to set the score of the specified user in a game sent as a normal message (bots only).
Notify the other user in a private chat that a screenshot of the chat was taken.
Send an album or grouped media.
Pin a message.
Vote in a poll.
Get poll results.
Edit the default banned rights of a channel/supergroup/group.
Send scheduled messages right away.
Delete scheduled messages.
Set maximum Time-To-Live of all messages in the specified chat.
Change the chat theme of a certain chat.
Dismiss or approve a chat join request related to a specific chat or channel.
Dismiss or approve all join requests related to a specific chat or channel.
Enable or disable content protection on a channel or chat.
React to message.
Get message reactions.
Change the set of message reactions » that can be used in a certain group, supergroup or channel.
Used by the user to relay data from an opened reply keyboard bot mini app to the bot that owns it.
Get information about extended media.
Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.
Set a custom wallpaper » in a specific private chat with another user.
Telegram API function.
Create a supergroup/channel.
Modify the admin rights of a user in a supergroup/channel.
Edit the name of a channel/supergroup.
Change the photo of a channel/supergroup.
Join a channel/supergroup.
Leave a channel/supergroup.
Invite users to a channel/supergroup.
Delete a channel/supergroup.
Enable/disable message signatures in channels.
Ban/unban/kick a user in a supergroup/channel.
Delete the history of a supergroup.
Hide/unhide message history for new channel/supergroup users.
Transfer channel ownership.
Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds.
Convert a supergroup to a gigagroup, when requested by channel suggestions.
Set whether all users should join a discussion group in order to comment on a post.
Set whether all users should request admin approval to join the group.
Enable or disable forum functionality in a supergroup.
Create a forum topic; requires manage_topics rights.
Edit forum topic; requires manage_topics rights.
Pin or unpin forum topics.
Reorder pinned forum topics.
Enable or disable the native antispam system.
Hide or display the participants list in a supergroup.
Informs server about a purchase made through the App Store: for official applications only.
Informs server about a purchase made through the Play Store: for official applications only.
Refuse or end running call.
Rate a call, returns info about the rating message sent to the official VoIP bot.
Create a group call or livestream.
Join a group call.
Leave a group call.
Invite a set of users to a group call.
Terminate a group call.
Change group call settings.
Start or stop recording a group call: the recorded audio and video streams will be automatically sent to Saved messages (the chat with ourselves).
Edit information about a given group call participant.
Edit the title of a group call or livestream.
Subscribe or unsubscribe to a scheduled group call.
Start a scheduled group call.
Start screen sharing in a call.
Stop screen sharing in a group call.
Edit peers in peer folder.
Import a chat folder deep link », joining some or all the chats in the folder.
Join channels and supergroups recently added to a chat folder deep link.
Delete a folder imported using a chat folder deep link.