UpdatesTooLong

class pyrogram.raw.types.UpdatesTooLong

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

Constructor type of Updates.

Details
  • Layer: 126

  • ID: 0xe317af7e

Parameters

No parameters required.

Methods

This object can be returned by 58 methods:

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 him 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

Chanages 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 legacy group into a supergroup.

messages.SendInlineBotResult

Send a result obtained using messages.getInlineBotResults.

messages.EditMessage

Edit message.

messages.GetAllDrafts

Save get 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

Telegram API method.

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.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

Telegram API method.

phone.DiscardCall

Refuse or end running call.

phone.SetCallRating

Rate a call.

phone.CreateGroupCall

Telegram API method.

phone.JoinGroupCall

Telegram API method.

phone.LeaveGroupCall

Telegram API method.

phone.InviteToGroupCall

Telegram API method.

phone.DiscardGroupCall

Telegram API method.

phone.ToggleGroupCallSettings

Telegram API method.

phone.ToggleGroupCallRecord

Telegram API method.

phone.EditGroupCallParticipant

Telegram API method.

phone.EditGroupCallTitle

Telegram API method.

folders.EditPeerFolders

Edit peers in peer folder.

folders.DeleteFolder

Delete a peer folder.