Skip to content

Latest commit

 

History

History
990 lines (687 loc) · 18 KB

File metadata and controls

990 lines (687 loc) · 18 KB

Update

Types

Update::typeUpdateNewMessage

Schema:

updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update;

Parameters:

Name Type
message Message
pts qint32
ptsCount qint32

Update::typeUpdateMessageID

Schema:

updateMessageID#4e90bfd6 id:int random_id:long = Update;

Parameters:

Name Type
id qint32
randomId qint64

Update::typeUpdateDeleteMessages

Schema:

updateDeleteMessages#a20db0e5 messages:Vector<int> pts:int pts_count:int = Update;

Parameters:

Name Type
messages QList<qint32>
pts qint32
ptsCount qint32

Update::typeUpdateUserTyping

Schema:

updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update;

Parameters:

Name Type
userId qint32
action SendMessageAction

Update::typeUpdateChatUserTyping

Schema:

updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update;

Parameters:

Name Type
chatId qint32
userId qint32
action SendMessageAction

Update::typeUpdateChatParticipants

Schema:

updateChatParticipants#7761198 participants:ChatParticipants = Update;

Parameters:

Name Type
participants ChatParticipants

Update::typeUpdateUserStatus

Schema:

updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update;

Parameters:

Name Type
userId qint32
status UserStatus

Update::typeUpdateUserName

Schema:

updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update;

Parameters:

Name Type
userId qint32
firstName QString
lastName QString
username QString

Update::typeUpdateUserPhoto

Schema:

updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update;

Parameters:

Name Type
userId qint32
date qint32
photo UserProfilePhoto
previous bool

Update::typeUpdateContactRegistered

Schema:

updateContactRegistered#2575bbb9 user_id:int date:int = Update;

Parameters:

Name Type
userId qint32
date qint32

Update::typeUpdateContactLink

Schema:

updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update;

Parameters:

Name Type
userId qint32
myLink ContactLink
foreignLink ContactLink

Update::typeUpdateNewEncryptedMessage

Schema:

updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update;

Parameters:

Name Type
message EncryptedMessage
qts qint32

Update::typeUpdateEncryptedChatTyping

Schema:

updateEncryptedChatTyping#1710f156 chat_id:int = Update;

Parameters:

Name Type
chatId qint32

Update::typeUpdateEncryption

Schema:

updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update;

Parameters:

Name Type
chat EncryptedChat
date qint32

Update::typeUpdateEncryptedMessagesRead

Schema:

updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update;

Parameters:

Name Type
chatId qint32
maxDate qint32
date qint32

Update::typeUpdateChatParticipantAdd

Schema:

updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update;

Parameters:

Name Type
chatId qint32
userId qint32
inviterId qint32
date qint32
version qint32

Update::typeUpdateChatParticipantDelete

Schema:

updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update;

Parameters:

Name Type
chatId qint32
userId qint32
version qint32

Update::typeUpdateDcOptions

Schema:

updateDcOptions#8e5e9873 dc_options:Vector<DcOption> = Update;

Parameters:

Name Type
dcOptions QList<DcOption>

Update::typeUpdateUserBlocked

Schema:

updateUserBlocked#80ece81a user_id:int blocked:Bool = Update;

Parameters:

Name Type
userId qint32
blocked bool

Update::typeUpdateNotifySettings

Schema:

updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update;

Parameters:

Name Type
peer NotifyPeer
notifySettings PeerNotifySettings

Update::typeUpdateServiceNotification

Schema:

updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector<MessageEntity> = Update;

Parameters:

Name Type
popup bool
inboxDate qint32
type QString
message QString
media MessageMedia
entities QList<MessageEntity>

Update::typeUpdatePrivacy

Schema:

updatePrivacy#ee3b272a key:PrivacyKey rules:Vector<PrivacyRule> = Update;

Parameters:

Name Type
key PrivacyKey
rules QList<PrivacyRule>

Update::typeUpdateUserPhone

Schema:

updateUserPhone#12b9417b user_id:int phone:string = Update;

Parameters:

Name Type
userId qint32
phone QString

Update::typeUpdateReadHistoryInbox

Schema:

updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update;

Parameters:

Name Type
peer Peer
maxId qint32
pts qint32
ptsCount qint32

Update::typeUpdateReadHistoryOutbox

Schema:

updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update;

Parameters:

Name Type
peer Peer
maxId qint32
pts qint32
ptsCount qint32

Update::typeUpdateWebPage

Schema:

updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update;

Parameters:

Name Type
webpage WebPage
pts qint32
ptsCount qint32

Update::typeUpdateReadMessagesContents

Schema:

updateReadMessagesContents#68c13933 messages:Vector<int> pts:int pts_count:int = Update;

Parameters:

Name Type
messages QList<qint32>
pts qint32
ptsCount qint32

Update::typeUpdateChannelTooLong

Schema:

updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update;

Parameters:

Name Type
channelId qint32
pts qint32

Update::typeUpdateChannel

Schema:

updateChannel#b6d45656 channel_id:int = Update;

Parameters:

Name Type
channelId qint32

Update::typeUpdateNewChannelMessage

Schema:

updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update;

Parameters:

Name Type
message Message
pts qint32
ptsCount qint32

Update::typeUpdateReadChannelInbox

Schema:

updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update;

Parameters:

Name Type
channelId qint32
maxId qint32

Update::typeUpdateDeleteChannelMessages

Schema:

updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector<int> pts:int pts_count:int = Update;

Parameters:

Name Type
channelId qint32
messages QList<qint32>
pts qint32
ptsCount qint32

Update::typeUpdateChannelMessageViews

Schema:

updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update;

Parameters:

Name Type
channelId qint32
id qint32
views qint32

Update::typeUpdateChatAdmins

Schema:

updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update;

Parameters:

Name Type
chatId qint32
enabled bool
version qint32

Update::typeUpdateChatParticipantAdmin

Schema:

updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update;

Parameters:

Name Type
chatId qint32
userId qint32
isAdmin bool
version qint32

Update::typeUpdateNewStickerSet

Schema:

updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update;

Parameters:

Name Type
stickerset MessagesStickerSet

Update::typeUpdateStickerSetsOrder

Schema:

updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector<long> = Update;

Parameters:

Name Type
masks bool
order QList<qint64>

Update::typeUpdateStickerSets

Schema:

updateStickerSets#43ae3dec = Update;

Parameters:

Update::typeUpdateSavedGifs

Schema:

updateSavedGifs#9375341e = Update;

Parameters:

Update::typeUpdateBotInlineQuery

Schema:

updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update;

Parameters:

Name Type
queryId qint64
userId qint32
query QString
geo GeoPoint
offset QString

Update::typeUpdateBotInlineSend

Schema:

updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update;

Parameters:

Name Type
userId qint32
query QString
geo GeoPoint
id QString
msgId InputBotInlineMessageID

Update::typeUpdateEditChannelMessage

Schema:

updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update;

Parameters:

Name Type
message Message
pts qint32
ptsCount qint32

Update::typeUpdateChannelPinnedMessage

Schema:

updateChannelPinnedMessage#98592475 channel_id:int id:int = Update;

Parameters:

Name Type
channelId qint32
id qint32

Update::typeUpdateBotCallbackQuery

Schema:

updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;

Parameters:

Name Type
queryId qint64
userId qint32
peer Peer
msgId qint32
chatInstance qint64
data QByteArray
gameShortName QString

Update::typeUpdateEditMessage

Schema:

updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update;

Parameters:

Name Type
message Message
pts qint32
ptsCount qint32

Update::typeUpdateInlineBotCallbackQuery

Schema:

updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;

Parameters:

Name Type
queryId qint64
userId qint32
msgId InputBotInlineMessageID
chatInstance qint64
data QByteArray
gameShortName QString

Update::typeUpdateReadChannelOutbox

Schema:

updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update;

Parameters:

Name Type
channelId qint32
maxId qint32

Update::typeUpdateDraftMessage

Schema:

updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update;

Parameters:

Name Type
peer Peer
draft DraftMessage

Update::typeUpdateReadFeaturedStickers

Schema:

updateReadFeaturedStickers#571d2742 = Update;

Parameters:

Update::typeUpdateRecentStickers

Schema:

updateRecentStickers#9a422c20 = Update;

Parameters:

Update::typeUpdateConfig

Schema:

updateConfig#a229dd06 = Update;

Parameters:

Update::typeUpdatePtsChanged

Schema:

updatePtsChanged#3354678f = Update;

Parameters:

Update::typeUpdateChannelWebPage

Schema:

updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update;

Parameters:

Name Type
channelId qint32
webpage WebPage
pts qint32
ptsCount qint32

Update::typeUpdateDialogPinned

Schema:

updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update;

Parameters:

Name Type
pinned bool
peer Peer

Update::typeUpdatePinnedDialogs

Schema:

updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector<Peer> = Update;

Parameters:

Name Type
order QList<Peer>

Update::typeUpdateBotWebhookJSON

Schema:

updateBotWebhookJSON#8317c0c3 data:DataJSON = Update;

Parameters:

Name Type
data DataJSON

Update::typeUpdateBotWebhookJSONQuery

Schema:

updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update;

Parameters:

Name Type
queryId qint64
data DataJSON
timeout qint32

Update::typeUpdateBotShippingQuery

Schema:

updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update;

Parameters:

Name Type
queryId qint64
userId qint32
payload QByteArray
shippingAddress PostAddress

Update::typeUpdateBotPrecheckoutQuery

Schema:

updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update;

Parameters:

Name Type
queryId qint64
userId qint32
payload QByteArray
info PaymentRequestedInfo
shippingOptionId QString
currency QString
totalAmount qint64

Update::typeUpdatePhoneCall

Schema:

updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update;

Parameters:

Name Type
phoneCall PhoneCall