UpdatesTooLong#

class pyrogram.raw.types.UpdatesTooLong#

Too many updates, it is necessary to execute updates.getDifference.

Constructor of Updates.

Details:
  • Layer: 158

  • ID: E317AF7E

Parameters:

No parameters required.

Functions:

This object can be returned by 87 functions.

account.GetNotifyExceptions

Returns list of chats with non-default notification settings.

contacts.DeleteContacts

Deletes several contacts from the list.

contacts.AddContact

Add an existing telegram user as contact.

contacts.AcceptContact

If the peer settings of a new user allow us to add them as contact, add that user as contact.

contacts.GetLocated

Get contacts near you.

contacts.BlockFromReplies

Stop getting notifications about thread replies of a certain user in @replies.

messages.SendMessage

Sends a message to a chat.

messages.SendMedia

Send a media.

messages.ForwardMessages

Forwards messages by their IDs.

messages.EditChatTitle

Changes chat name and sends a service message on it.

messages.EditChatPhoto

Changes chat photo and sends a service message on it.

messages.AddChatUser

Adds a user to a chat and sends a service message on it.

messages.DeleteChatUser

Deletes a user from a chat and sends a service message on it.

messages.CreateChat

Creates a new chat.

messages.ImportChatInvite

Import a chat invite and join a private chat/supergroup/channel.

messages.StartBot

Start a conversation with a bot using a deep linking parameter.

messages.MigrateChat

Turn a basic group into a supergroup.

messages.SendInlineBotResult

Send a result obtained using messages.getInlineBotResults.

messages.EditMessage

Edit message.

messages.GetAllDrafts

Return all message drafts.

messages.SetGameScore

Use this method to set the score of the specified user in a game sent as a normal message (bots only).

messages.SendScreenshotNotification

Notify the other user in a private chat that a screenshot of the chat was taken.

messages.SendMultiMedia

Send an album or grouped media.

messages.UpdatePinnedMessage

Pin a message.

messages.SendVote

Vote in a poll.

messages.GetPollResults

Get poll results.

messages.EditChatDefaultBannedRights

Edit the default banned rights of a channel/supergroup/group.

messages.SendScheduledMessages

Send scheduled messages right away.

messages.DeleteScheduledMessages

Delete scheduled messages.

messages.SetHistoryTTL

Set maximum Time-To-Live of all messages in the specified chat.

messages.SetChatTheme

Change the chat theme of a certain chat.

messages.HideChatJoinRequest

Dismiss or approve a chat join request related to a specific chat or channel.

messages.HideAllChatJoinRequests

Dismiss or approve all join requests related to a specific chat or channel.

messages.ToggleNoForwards

Enable or disable content protection on a channel or chat.

messages.SendReaction

React to message.

messages.GetMessagesReactions

Get message reactions.

messages.SetChatAvailableReactions

Change the set of message reactions » that can be used in a certain group, supergroup or channel.

messages.SendWebViewData

Used by the user to relay data from an opened reply keyboard bot web app to the bot that owns it.

messages.GetExtendedMedia

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.

messages.SendBotRequestedPeer

Send a chosen peer, as requested by a keyboardButtonRequestPeer button.

messages.SetChatWallPaper

Telegram API function.

help.GetAppChangelog

Get changelog of current app.

channels.CreateChannel

Create a supergroup/channel.

channels.EditAdmin

Modify the admin rights of a user in a supergroup/channel.

channels.EditTitle

Edit the name of a channel/supergroup.

channels.EditPhoto

Change the photo of a channel/supergroup.

channels.JoinChannel

Join a channel/supergroup.

channels.LeaveChannel

Leave a channel/supergroup.

channels.InviteToChannel

Invite users to a channel/supergroup.

channels.DeleteChannel

Delete a channel/supergroup.

channels.ToggleSignatures

Enable/disable message signatures in channels.

channels.EditBanned

Ban/unban/kick a user in a supergroup/channel.

channels.DeleteHistory

Delete the history of a supergroup.

channels.TogglePreHistoryHidden

Hide/unhide message history for new channel/supergroup users.

channels.EditCreator

Transfer channel ownership.

channels.ToggleSlowMode

Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds.

channels.ConvertToGigagroup

Convert a supergroup to a gigagroup, when requested by channel suggestions.

channels.ToggleJoinToSend

Set whether all users should join a discussion group in order to comment on a post.

channels.ToggleJoinRequest

Set whether all users should request admin approval to join the group.

channels.ToggleForum

Enable or disable forum functionality in a supergroup.

channels.CreateForumTopic

Create a forum topic; requires manage_topics rights.

channels.EditForumTopic

Edit forum topic; requires manage_topics rights.

channels.UpdatePinnedForumTopic

Pin or unpin forum topics.

channels.ReorderPinnedForumTopics

Reorder pinned forum topics.

channels.ToggleAntiSpam

Enable or disable the native antispam system.

channels.ToggleParticipantsHidden

Hide or display the participants list in a supergroup.

payments.AssignAppStoreTransaction

Informs server about a purchase made through the App Store: for official applications only.

payments.AssignPlayMarketTransaction

Informs server about a purchase made through the Play Store: for official applications only.

phone.DiscardCall

Refuse or end running call.

phone.SetCallRating

Rate a call, returns info about the rating message sent to the official VoIP bot.

phone.CreateGroupCall

Create a group call or livestream.

phone.JoinGroupCall

Join a group call.

phone.LeaveGroupCall

Leave a group call.

phone.InviteToGroupCall

Invite a set of users to a group call.

phone.DiscardGroupCall

Terminate a group call.

phone.ToggleGroupCallSettings

Change group call settings.

phone.ToggleGroupCallRecord

Start or stop recording a group call: the recorded audio and video streams will be automatically sent to Saved messages (the chat with ourselves).

phone.EditGroupCallParticipant

Edit information about a given group call participant.

phone.EditGroupCallTitle

Edit the title of a group call or livestream.

phone.ToggleGroupCallStartSubscription

Subscribe or unsubscribe to a scheduled group call.

phone.StartScheduledGroupCall

Start a scheduled group call.

phone.JoinGroupCallPresentation

Start screen sharing in a call.

phone.LeaveGroupCallPresentation

Stop screen sharing in a group call.

folders.EditPeerFolders

Edit peers in peer folder.

chatlists.JoinChatlistInvite

Telegram API function.

chatlists.JoinChatlistUpdates

Telegram API function.

chatlists.LeaveChatlist

Telegram API function.