mirror of
https://github.com/danog/tl-schema.git
synced 2024-12-02 09:18:01 +01:00
102 lines
9.5 KiB
Plaintext
102 lines
9.5 KiB
Plaintext
---types---
|
|
// contactFound#ea879f95 user_id:int = ContactFound;
|
|
// chat#6e9c9bc7 id:int title:string photo:ChatPhoto participants_count:int date:int left:Bool version:int = Chat;
|
|
chat#7312bc48 flags:# id:int title:string photo:ChatPhoto participants_count:int date:int version:int = Chat;
|
|
// chatForbidden#fb0ccc41 id:int title:string date:int = Chat;
|
|
chatForbidden#7328bdb id:int title:string = Chat;
|
|
// chatParticipantsForbidden#fd2bb8a chat_id:int = ChatParticipants;
|
|
chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants;
|
|
// messageService#1d86f70e flags:int id:int from_id:int to_id:Peer date:int action:MessageAction = Message;
|
|
messageService#c06b9607 flags:# id:int from_id:flags.8?int to_id:Peer date:int action:MessageAction = Message;
|
|
// contacts.found#566000e results:Vector<ContactFound> users:Vector<User> = contacts.Found;
|
|
contacts.found#1aa1f784 results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;
|
|
// updateShortMessage#3f32d858 flags:# id:int user_id:int message:string pts:int pts_count:int date:int fwd_from_id:flags.2?int fwd_date:flags.2?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
|
|
updateShortMessage#f7d91a46 flags:# id:int user_id:int message:string pts:int pts_count:int date:int fwd_from_id:flags.2?Peer fwd_date:flags.2?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
|
|
// updateShortChatMessage#f9409b3d flags:# id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from_id:flags.2?int fwd_date:flags.2?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
|
|
updateShortChatMessage#cac7fdd2 flags:# id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from_id:flags.2?Peer fwd_date:flags.2?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;
|
|
// updateChatParticipantAdd#3a0eeb22 chat_id:int user_id:int inviter_id:int version:int = Update;
|
|
updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update;
|
|
// updateWebPage#2cc36971 webpage:WebPage = Update;
|
|
updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update;
|
|
// chatInvite#ce917dcd title:string = ChatInvite;
|
|
chatInvite#93e99b60 flags:# title:string = ChatInvite;
|
|
inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer;
|
|
peerChannel#bddde532 channel_id:int = Peer;
|
|
channel#678e9587 flags:# id:int access_hash:long title:string username:flags.6?string photo:ChatPhoto date:int version:int = Chat;
|
|
channelForbidden#2d85832c id:int access_hash:long title:string = Chat;
|
|
channelFull#fab31aa3 flags:# id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int read_inbox_max_id:int unread_count:int unread_important_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite = ChatFull;
|
|
messageActionChannelCreate#95d2ac92 title:string = MessageAction;
|
|
dialogChannel#5b8496b2 peer:Peer top_message:int top_important_message:int read_inbox_max_id:int unread_count:int unread_important_count:int notify_settings:PeerNotifySettings pts:int = Dialog;
|
|
messages.channelMessages#bc0f17bc flags:# pts:int count:int messages:Vector<Message> collapsed:flags.0?Vector<MessageGroup> chats:Vector<Chat> users:Vector<User> = messages.Messages;
|
|
updateChannelTooLong#60946422 channel_id:int = Update;
|
|
updateChannel#b6d45656 channel_id:int = Update;
|
|
updateChannelGroup#c36c1e3c channel_id:int group:MessageGroup = Update;
|
|
updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update;
|
|
updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update;
|
|
updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector<int> pts:int pts_count:int = Update;
|
|
updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update;
|
|
inputChannelEmpty#ee8c1e86 = InputChannel;
|
|
inputChannel#afeb712e channel_id:int access_hash:long = InputChannel;
|
|
contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector<Chat> users:Vector<User> = contacts.ResolvedPeer;
|
|
messageRange#ae30253 min_id:int max_id:int = MessageRange;
|
|
messageGroup#e8346f53 min_id:int max_id:int count:int date:int = MessageGroup;
|
|
updates.channelDifferenceEmpty#3e11affb flags:# pts:int timeout:flags.1?int = updates.ChannelDifference;
|
|
updates.channelDifferenceTooLong#5e167646 flags:# pts:int timeout:flags.1?int top_message:int top_important_message:int read_inbox_max_id:int unread_count:int unread_important_count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;
|
|
updates.channelDifference#2064674e flags:# pts:int timeout:flags.1?int new_messages:Vector<Message> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;
|
|
channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter;
|
|
channelMessagesFilter#cd77d957 flags:# ranges:Vector<MessageRange> = ChannelMessagesFilter;
|
|
channelMessagesFilterCollapsed#fa01232e = ChannelMessagesFilter;
|
|
channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant;
|
|
channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant;
|
|
channelParticipantModerator#91057fef user_id:int inviter_id:int date:int = ChannelParticipant;
|
|
channelParticipantEditor#98192d61 user_id:int inviter_id:int date:int = ChannelParticipant;
|
|
channelParticipantKicked#8cc5e69a user_id:int kicked_by:int date:int = ChannelParticipant;
|
|
channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant;
|
|
channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter;
|
|
channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter;
|
|
channelParticipantsKicked#3c37bb7a = ChannelParticipantsFilter;
|
|
channelRoleEmpty#b285a0c6 = ChannelParticipantRole;
|
|
channelRoleModerator#9618d975 = ChannelParticipantRole;
|
|
channelRoleEditor#820bfe8c = ChannelParticipantRole;
|
|
channels.channelParticipants#f56ee2a8 count:int participants:Vector<ChannelParticipant> users:Vector<User> = channels.ChannelParticipants;
|
|
channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector<User> = channels.ChannelParticipant;
|
|
---functions---
|
|
// messages.getDialogs#eccf1df6 offset:int max_id:int limit:int = messages.Dialogs;
|
|
messages.getDialogs#859b3d3c offset:int limit:int = messages.Dialogs;
|
|
// messages.getHistory#92a1df2f peer:InputPeer offset:int max_id:int limit:int = messages.Messages;
|
|
messages.getHistory#8a8ec2da peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
|
|
// messages.search#7e9f2ab peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages;
|
|
messages.search#d4569248 flags:# peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages;
|
|
// messages.forwardMessages#55e1728d peer:InputPeer id:Vector<int> random_id:Vector<long> = Updates;
|
|
messages.forwardMessages#708e0195 flags:# from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer = Updates;
|
|
// contacts.resolveUsername#bf0131c username:string = User;
|
|
contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer;
|
|
messages.reportSpam#cf1592db peer:InputPeer = Bool;
|
|
messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector<int> increment:Bool = Vector<int>;
|
|
updates.getChannelDifference#bb32d7c0 channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;
|
|
channels.getDialogs#a9d3d249 offset:int limit:int = messages.Dialogs;
|
|
channels.getImportantHistory#ddb929cb channel:InputChannel offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
|
|
channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool;
|
|
channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector<int> = messages.AffectedMessages;
|
|
channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory;
|
|
channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector<int> = Bool;
|
|
channels.getMessages#93d7b347 channel:InputChannel id:Vector<int> = messages.Messages;
|
|
channels.getParticipants#24d98f92 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int = channels.ChannelParticipants;
|
|
channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant;
|
|
channels.getChannels#a7f6bbb id:Vector<InputChannel> = messages.Chats;
|
|
channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull;
|
|
channels.createChannel#5521d844 flags:# title:string about:string users:Vector<InputUser> = Updates;
|
|
channels.editAbout#13e27f1e channel:InputChannel about:string = Bool;
|
|
channels.editAdmin#52b16962 channel:InputChannel user_id:InputUser role:ChannelParticipantRole = Bool;
|
|
channels.editTitle#566decd0 channel:InputChannel title:string = Updates;
|
|
channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates;
|
|
channels.toggleComments#aaa29e88 channel:InputChannel enabled:Bool = Updates;
|
|
channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool;
|
|
channels.updateUsername#3514b3de channel:InputChannel username:string = Bool;
|
|
channels.joinChannel#24b524c5 channel:InputChannel = Updates;
|
|
channels.leaveChannel#f836aa95 channel:InputChannel = Updates;
|
|
channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector<InputUser> = Updates;
|
|
channels.kickFromChannel#a672de14 channel:InputChannel user_id:InputUser kicked:Bool = Updates;
|
|
channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite;
|
|
channels.deleteChannel#c0111fe3 channel:InputChannel = Updates;
|