Update API scheme.
This commit is contained in:
parent
ef27670954
commit
35356a1736
|
@ -467,7 +467,7 @@ sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction;
|
||||||
speakingInGroupCallAction#d92c2285 = SendMessageAction;
|
speakingInGroupCallAction#d92c2285 = SendMessageAction;
|
||||||
sendMessageHistoryImportAction#dbda9246 progress:int = SendMessageAction;
|
sendMessageHistoryImportAction#dbda9246 progress:int = SendMessageAction;
|
||||||
sendMessageChooseStickerAction#b05ac6b1 = SendMessageAction;
|
sendMessageChooseStickerAction#b05ac6b1 = SendMessageAction;
|
||||||
sendMessageEmojiInteraction#6a3233b6 emoticon:string interaction:DataJSON = SendMessageAction;
|
sendMessageEmojiInteraction#25972bcb emoticon:string msg_id:int interaction:DataJSON = SendMessageAction;
|
||||||
sendMessageEmojiInteractionSeen#b665902e emoticon:string = SendMessageAction;
|
sendMessageEmojiInteractionSeen#b665902e emoticon:string = SendMessageAction;
|
||||||
|
|
||||||
contacts.found#b3134d9d my_results:Vector<Peer> results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;
|
contacts.found#b3134d9d my_results:Vector<Peer> results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;
|
||||||
|
@ -560,6 +560,7 @@ inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet;
|
||||||
inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet;
|
inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet;
|
||||||
inputStickerSetAnimatedEmoji#28703c8 = InputStickerSet;
|
inputStickerSetAnimatedEmoji#28703c8 = InputStickerSet;
|
||||||
inputStickerSetDice#e67f520e emoticon:string = InputStickerSet;
|
inputStickerSetDice#e67f520e emoticon:string = InputStickerSet;
|
||||||
|
inputStickerSetAnimatedEmojiAnimations#cde3739 = InputStickerSet;
|
||||||
|
|
||||||
stickerSet#d7df217a flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int count:int hash:int = StickerSet;
|
stickerSet#d7df217a flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int count:int hash:int = StickerSet;
|
||||||
|
|
||||||
|
@ -907,7 +908,6 @@ channelAdminLogEventActionExportedInviteRevoke#410a134e invite:ExportedChatInvit
|
||||||
channelAdminLogEventActionExportedInviteEdit#e90ebb59 prev_invite:ExportedChatInvite new_invite:ExportedChatInvite = ChannelAdminLogEventAction;
|
channelAdminLogEventActionExportedInviteEdit#e90ebb59 prev_invite:ExportedChatInvite new_invite:ExportedChatInvite = ChannelAdminLogEventAction;
|
||||||
channelAdminLogEventActionParticipantVolume#3e7f6847 participant:GroupCallParticipant = ChannelAdminLogEventAction;
|
channelAdminLogEventActionParticipantVolume#3e7f6847 participant:GroupCallParticipant = ChannelAdminLogEventAction;
|
||||||
channelAdminLogEventActionChangeHistoryTTL#6e941a38 prev_value:int new_value:int = ChannelAdminLogEventAction;
|
channelAdminLogEventActionChangeHistoryTTL#6e941a38 prev_value:int new_value:int = ChannelAdminLogEventAction;
|
||||||
channelAdminLogEventActionChangeTheme#fe69018d prev_value:string new_value:string = ChannelAdminLogEventAction;
|
|
||||||
|
|
||||||
channelAdminLogEvent#1fad68cd id:long date:int user_id:long action:ChannelAdminLogEventAction = ChannelAdminLogEvent;
|
channelAdminLogEvent#1fad68cd id:long date:int user_id:long action:ChannelAdminLogEventAction = ChannelAdminLogEvent;
|
||||||
|
|
||||||
|
|
|
@ -1076,12 +1076,6 @@ void GenerateItems(
|
||||||
addSimpleServiceMessage(text);
|
addSimpleServiceMessage(text);
|
||||||
};
|
};
|
||||||
|
|
||||||
auto createChangeTheme = [&](const MTPDchannelAdminLogEventActionChangeTheme &data) {
|
|
||||||
const auto was = qs(data.vprev_value());
|
|
||||||
const auto now = qs(data.vnew_value());
|
|
||||||
// #TODO themes
|
|
||||||
};
|
|
||||||
|
|
||||||
action.match([&](const MTPDchannelAdminLogEventActionChangeTitle &data) {
|
action.match([&](const MTPDchannelAdminLogEventActionChangeTitle &data) {
|
||||||
createChangeTitle(data);
|
createChangeTitle(data);
|
||||||
}, [&](const MTPDchannelAdminLogEventActionChangeAbout &data) {
|
}, [&](const MTPDchannelAdminLogEventActionChangeAbout &data) {
|
||||||
|
@ -1146,8 +1140,6 @@ void GenerateItems(
|
||||||
createParticipantVolume(data);
|
createParticipantVolume(data);
|
||||||
}, [&](const MTPDchannelAdminLogEventActionChangeHistoryTTL &data) {
|
}, [&](const MTPDchannelAdminLogEventActionChangeHistoryTTL &data) {
|
||||||
createChangeHistoryTTL(data);
|
createChangeHistoryTTL(data);
|
||||||
}, [&](const MTPDchannelAdminLogEventActionChangeTheme &data) {
|
|
||||||
createChangeTheme(data);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue