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 add contact action bar is active, add that user as contact.

contacts.GetLocated

Get users and geochats near you, see here » for more info.

contacts.BlockFromReplies

Stop getting notifications about discussion 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 mini app to the bot that owns it.

messages.GetExtendedMedia

Get information about extended media.

messages.SendBotRequestedPeer

Send one or more chosen peers, as requested by a keyboardButtonRequestPeer button.

messages.SetChatWallPaper

Set a custom wallpaper » in a specific private chat with another user.

help.GetAppChangelog

Telegram API function.

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

Import a chat folder deep link », joining some or all the chats in the folder.

chatlists.JoinChatlistUpdates

Join channels and supergroups recently added to a chat folder deep link.

chatlists.LeaveChatlist

Delete a folder imported using a chat folder deep link.