@@ -49,7 +49,7 @@ inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int =
4949inputMediaGame#d33f43f3 id:InputGame = InputMedia ;
5050inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0? InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia ;
5151inputMediaGeoLive#ce4e82fd flags:# stopped:flags.0? true geo_point:InputGeoPoint period:flags.1? int = InputMedia ;
52- inputMediaPoll#6b3765b poll:Poll = InputMedia ;
52+ inputMediaPoll#abe9ca25 flags:# poll:Poll correct_answers:flags.0 ? Vector < bytes > = InputMedia ;
5353
5454inputChatPhotoEmpty#1ca48f57 = InputChatPhoto ;
5555inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto ;
@@ -329,6 +329,7 @@ updateDeleteScheduledMessages#90866cee peer:Peer messages:Vector<int> = Update;
329329updateTheme#8216fba3 theme:Theme = Update ;
330330updateGeoLiveViewed#871fb939 peer:Peer msg_id:int = Update ;
331331updateLoginToken#564fe691 = Update ;
332+ updateMessagePollVote#42f88f2c poll_id:long user_id:int options:Vector<bytes > = Update ;
332333
333334updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates .State ;
334335
@@ -524,6 +525,7 @@ keyboardButtonGame#50f41ccf text:string = KeyboardButton;
524525keyboardButtonBuy#afd93fbb text:string = KeyboardButton ;
525526keyboardButtonUrlAuth#10b78d29 flags:# text:string fwd_text:flags.0? string url:string button_id:int = KeyboardButton ;
526527inputKeyboardButtonUrlAuth#d02e7fd4 flags:# request_write_access:flags.0? true text:string fwd_text:flags.1? string url:string bot:InputUser = KeyboardButton ;
528+ keyboardButtonRequestPoll#bbc7515d flags:# quiz:flags.0? Bool text:string = KeyboardButton ;
527529
528530keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton > = KeyboardButtonRow ;
529531
@@ -993,11 +995,11 @@ help.userInfo#1eb3758 message:string entities:Vector<MessageEntity> author:strin
993995
994996pollAnswer#6ca9c2e9 text:string option:bytes = PollAnswer ;
995997
996- poll#d5529d06 id:long flags:# closed:flags.0? true question:string answers:Vector<PollAnswer > = Poll ;
998+ poll#d5529d06 id:long flags:# closed:flags.0? true public_voters:flags.1 ? true multiple_choice:flags.2 ? true quiz:flags.3 ? true question:string answers:Vector<PollAnswer > = Poll ;
997999
998- pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0? true option:bytes voters:int = PollAnswerVoters ;
1000+ pollAnswerVoters#3b6ddad2 flags:# chosen:flags.0? true correct:flags.1 ? true option:bytes voters:int = PollAnswerVoters ;
9991001
1000- pollResults#5755785a flags:# min:flags.0? true results:flags.1? Vector <PollAnswerVoters > total_voters:flags.2? int = PollResults ;
1002+ pollResults#c87024a2 flags:# min:flags.0? true results:flags.1? Vector <PollAnswerVoters > total_voters:flags.2? int recent_voters:flags.3 ? Vector < int > = PollResults ;
10011003
10021004chatOnlines#f041e250 onlines:int = ChatOnlines ;
10031005
@@ -1055,16 +1057,11 @@ restrictionReason#d072acb4 platform:string reason:string text:string = Restricti
10551057inputTheme#3c5693e9 id:long access_hash:long = InputTheme ;
10561058inputThemeSlug#f5890df1 slug:string = InputTheme ;
10571059
1058- themeDocumentNotModified#483d270c = Theme ;
10591060theme#28f1114 flags:# creator:flags.0? true default:flags.1? true id:long access_hash:long slug:string title:string document:flags.2? Document settings:flags.3? ThemeSettings installs_count:int = Theme ;
10601061
10611062account.themesNotModified#f41eb622 = account .Themes ;
10621063account.themes#7f676421 hash:int themes:Vector<Theme > = account .Themes ;
10631064
1064- wallet.liteResponse#764386d7 response:bytes = wallet .LiteResponse ;
1065-
1066- wallet.secretSalt#dd484d64 salt:bytes = wallet .KeySecretSalt ;
1067-
10681065auth.loginToken#629f1980 expires:int token:bytes = auth .LoginToken ;
10691066auth.loginTokenMigrateTo#68e9916 dc_id:int token:bytes = auth .LoginToken ;
10701067auth.loginTokenSuccess#390d5c5e authorization:auth.Authorization = auth .LoginToken ;
@@ -1085,6 +1082,12 @@ themeSettings#9c14984a flags:# base_theme:BaseTheme accent_color:int message_top
10851082
10861083webPageAttributeTheme#54b56617 flags:# documents:flags.0? Vector <Document > settings:flags.1? ThemeSettings = WebPageAttribute ;
10871084
1085+ messageUserVote#a28e5559 user_id:int option:bytes date:int = MessageUserVote ;
1086+ messageUserVoteInputOption#36377430 user_id:int date:int = MessageUserVote ;
1087+ messageUserVoteMultiple#e8fe0de user_id:int options:Vector<bytes > date:int = MessageUserVote ;
1088+
1089+ messages.votesList#823f649 flags:# count:int votes:Vector<MessageUserVote > users:Vector<User > next_offset:flags.0? string = messages .VotesList ;
1090+
10881091---functions ---
10891092
10901093invokeAfterMsg#cb9f372d {X:Type} msg_id:long query :!X = X ;
@@ -1321,6 +1324,7 @@ messages.getScheduledHistory#e2c2685b peer:InputPeer hash:int = messages.Message
13211324messages.getScheduledMessages#bdbb0464 peer:InputPeer id:Vector<int > = messages .Messages ;
13221325messages.sendScheduledMessages#bd38850a peer:InputPeer id:Vector<int > = Updates ;
13231326messages.deleteScheduledMessages#59ae2b16 peer:InputPeer id:Vector<int > = Updates ;
1327+ messages.getPollVotes#b86e380e flags:# peer:InputPeer id:int option:flags.0? bytes offset:flags.1? string limit:int = messages .VotesList ;
13241328
13251329updates.getState#edd4882a = updates .State ;
13261330updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0? int date:int qts:int = updates .Difference ;
@@ -1332,7 +1336,7 @@ photos.deletePhotos#87cf7f2f id:Vector<InputPhoto> = Vector<long>;
13321336photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos .Photos ;
13331337
13341338upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool ;
1335- upload.getFile#b15a9afc flags:# precise:flags.0? true location:InputFileLocation offset:int limit:int = upload .File ;
1339+ upload.getFile#b15a9afc flags:# precise:flags.0? true cdn_supported:flags.1 ? true location:InputFileLocation offset:int limit:int = upload .File ;
13361340upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool ;
13371341upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload .WebFile ;
13381342upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload .CdnFile ;
@@ -1429,7 +1433,4 @@ langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLangua
14291433folders.editPeerFolders#6847d0ab folder_peers:Vector<InputFolderPeer > = Updates ;
14301434folders.deleteFolder#1c295881 folder_id:int = Updates ;
14311435
1432- wallet.sendLiteRequest#e2c9d33e body:bytes = wallet .LiteResponse ;
1433- wallet.getKeySecretSalt#b57f346 revoke:Bool = wallet .KeySecretSalt ;
1434-
1435- // LAYER 108
1436+ // LAYER 109
0 commit comments