pub trait Function {
type Reply: BoxedDeserialize;
}
impl Function for changePhone type Reply = User;
impl Function for clacks::mtproto::rpc::account::checkUsername type Reply = Bool;
impl Function for confirmPhone type Reply = Bool;
impl Function for deleteAccount type Reply = Bool;
impl Function for getAccountTTL type Reply = AccountDaysTTL;
impl Function for getAuthorizations type Reply = Authorizations;
impl Function for getNotifySettings type Reply = PeerNotifySettings;
impl Function for getPassword type Reply = Password;
impl Function for getPasswordSettings type Reply = PasswordSettings;
impl Function for getPrivacy type Reply = PrivacyRules;
impl Function for getTmpPassword type Reply = TmpPassword;
impl Function for getWallPapers type Reply = Vector<Boxed, WallPaper>;
impl Function for registerDevice type Reply = Bool;
impl Function for reportPeer type Reply = Bool;
impl Function for resetAuthorization type Reply = Bool;
impl Function for resetNotifySettings type Reply = Bool;
impl Function for sendChangePhoneCode type Reply = SentCode;
impl Function for sendConfirmPhoneCode type Reply = SentCode;
impl Function for setAccountTTL type Reply = Bool;
impl Function for setPrivacy type Reply = PrivacyRules;
impl Function for unregisterDevice type Reply = Bool;
impl Function for updateDeviceLocked type Reply = Bool;
impl Function for updateNotifySettings type Reply = Bool;
impl Function for updatePasswordSettings type Reply = Bool;
impl Function for updateProfile type Reply = User;
impl Function for updateStatus type Reply = Bool;
impl Function for clacks::mtproto::rpc::account::updateUsername type Reply = User;
impl Function for bindTempAuthKey type Reply = Bool;
impl Function for cancelCode type Reply = Bool;
impl Function for checkPassword type Reply = Authorization;
impl Function for checkPhone type Reply = CheckedPhone;
impl Function for dropTempAuthKeys type Reply = Bool;
impl Function for exportAuthorization type Reply = ExportedAuthorization;
impl Function for importAuthorization type Reply = Authorization;
impl Function for importBotAuthorization type Reply = Authorization;
impl Function for logOut type Reply = Bool;
impl Function for recoverPassword type Reply = Authorization;
impl Function for requestPasswordRecovery type Reply = PasswordRecovery;
impl Function for resendCode type Reply = SentCode;
impl Function for resetAuthorizations type Reply = Bool;
impl Function for sendCode type Reply = SentCode;
impl Function for sendInvites type Reply = Bool;
impl Function for signIn type Reply = Authorization;
impl Function for signUp type Reply = Authorization;
impl Function for answerWebhookJSONQuery type Reply = Bool;
impl Function for sendCustomRequest type Reply = DataJSON;
impl Function for clacks::mtproto::rpc::channels::checkUsername type Reply = Bool;
impl Function for createChannel type Reply = Updates;
impl Function for deleteChannel type Reply = Updates;
impl Function for clacks::mtproto::rpc::channels::deleteHistory type Reply = Bool;
impl Function for clacks::mtproto::rpc::channels::deleteMessages type Reply = AffectedMessages;
impl Function for deleteUserHistory type Reply = AffectedHistory;
impl Function for editAbout type Reply = Bool;
impl Function for editAdmin type Reply = Updates;
impl Function for editBanned type Reply = Updates;
impl Function for editPhoto type Reply = Updates;
impl Function for editTitle type Reply = Updates;
impl Function for exportInvite type Reply = ExportedChatInvite;
impl Function for exportMessageLink type Reply = ExportedMessageLink;
impl Function for getAdminLog type Reply = AdminLogResults;
impl Function for getAdminedPublicChannels type Reply = Chats;
impl Function for getChannels type Reply = Chats;
impl Function for getFullChannel type Reply = ChatFull;
impl Function for clacks::mtproto::rpc::channels::getMessages type Reply = Messages;
impl Function for getParticipant type Reply = ChannelParticipant;
impl Function for getParticipants type Reply = ChannelParticipants;
impl Function for inviteToChannel type Reply = Updates;
impl Function for joinChannel type Reply = Updates;
impl Function for leaveChannel type Reply = Updates;
impl Function for clacks::mtproto::rpc::channels::readHistory type Reply = Bool;
impl Function for clacks::mtproto::rpc::channels::readMessageContents type Reply = Bool;
impl Function for clacks::mtproto::rpc::channels::reportSpam type Reply = Bool;
impl Function for setStickers type Reply = Bool;
impl Function for toggleInvites type Reply = Updates;
impl Function for togglePreHistoryHidden type Reply = Updates;
impl Function for toggleSignatures type Reply = Updates;
impl Function for updatePinnedMessage type Reply = Updates;
impl Function for clacks::mtproto::rpc::channels::updateUsername type Reply = Bool;
impl Function for block type Reply = Bool;
impl Function for deleteContact type Reply = Link;
impl Function for deleteContacts type Reply = Bool;
impl Function for exportCard type Reply = Vector<Bare, int>;
impl Function for getBlocked type Reply = Blocked;
impl Function for getContacts type Reply = Contacts;
impl Function for getStatuses type Reply = Vector<Boxed, ContactStatus>;
impl Function for getTopPeers type Reply = TopPeers;
impl Function for importCard type Reply = User;
impl Function for importContacts type Reply = ImportedContacts;
impl Function for resetSaved type Reply = Bool;
impl Function for resetTopPeerRating type Reply = Bool;
impl Function for resolveUsername type Reply = ResolvedPeer;
impl Function for clacks::mtproto::rpc::contacts::search type Reply = Found;
impl Function for unblock type Reply = Bool;
impl Function for saveDeveloperInfo type Reply = Bool;
impl Function for getAppChangelog type Reply = Updates;
impl Function for getAppUpdate type Reply = AppUpdate;
impl Function for getCdnConfig type Reply = CdnConfig;
impl Function for getConfig type Reply = Config;
impl Function for getInviteText type Reply = InviteText;
impl Function for getNearestDc type Reply = NearestDc;
impl Function for getRecentMeUrls type Reply = RecentMeUrls;
impl Function for getSupport type Reply = Support;
impl Function for getTermsOfService type Reply = TermsOfService;
impl Function for saveAppLog type Reply = Bool;
impl Function for setBotUpdatesStatus type Reply = Bool;
impl Function for clacks::mtproto::rpc::langpack::getDifference type Reply = LangPackDifference;
impl Function for getLangPack type Reply = LangPackDifference;
impl Function for getLanguages type Reply = Vector<Boxed, LangPackLanguage>;
impl Function for getStrings type Reply = Vector<Boxed, LangPackString>;
impl Function for acceptEncryption type Reply = EncryptedChat;
impl Function for addChatUser type Reply = Updates;
impl Function for checkChatInvite type Reply = ChatInvite;
impl Function for clearRecentStickers type Reply = Bool;
impl Function for createChat type Reply = Updates;
impl Function for deleteChatUser type Reply = Updates;
impl Function for clacks::mtproto::rpc::messages::deleteHistory type Reply = AffectedHistory;
impl Function for clacks::mtproto::rpc::messages::deleteMessages type Reply = AffectedMessages;
impl Function for discardEncryption type Reply = Bool;
impl Function for editChatAdmin type Reply = Bool;
impl Function for editChatPhoto type Reply = Updates;
impl Function for editChatTitle type Reply = Updates;
impl Function for editInlineBotMessage type Reply = Bool;
impl Function for editMessage type Reply = Updates;
impl Function for exportChatInvite type Reply = ExportedChatInvite;
impl Function for faveSticker type Reply = Bool;
impl Function for forwardMessage type Reply = Updates;
impl Function for forwardMessages type Reply = Updates;
impl Function for getAllChats type Reply = Chats;
impl Function for getAllDrafts type Reply = Updates;
impl Function for getAllStickers type Reply = AllStickers;
impl Function for getArchivedStickers type Reply = ArchivedStickers;
impl Function for getAttachedStickers type Reply = Vector<Boxed, StickerSetCovered>;
impl Function for getBotCallbackAnswer type Reply = BotCallbackAnswer;
impl Function for getChats type Reply = Chats;
impl Function for getCommonChats type Reply = Chats;
impl Function for getDhConfig type Reply = DhConfig;
impl Function for getDialogs type Reply = Dialogs;
impl Function for getDocumentByHash type Reply = Document;
impl Function for getFavedStickers type Reply = FavedStickers;
impl Function for getFeaturedStickers type Reply = FeaturedStickers;
impl Function for getFullChat type Reply = ChatFull;
impl Function for getGameHighScores type Reply = HighScores;
impl Function for getHistory type Reply = Messages;
impl Function for getInlineBotResults type Reply = BotResults;
impl Function for getInlineGameHighScores type Reply = HighScores;
impl Function for getMaskStickers type Reply = AllStickers;
impl Function for getMessageEditData type Reply = MessageEditData;
impl Function for clacks::mtproto::rpc::messages::getMessages type Reply = Messages;
impl Function for getMessagesViews type Reply = Vector<Bare, int>;
impl Function for getPeerDialogs type Reply = PeerDialogs;
impl Function for getPeerSettings type Reply = PeerSettings;
impl Function for getPinnedDialogs type Reply = PeerDialogs;
impl Function for getRecentLocations type Reply = Messages;
impl Function for getRecentStickers type Reply = RecentStickers;
impl Function for getSavedGifs type Reply = SavedGifs;
impl Function for getStickerSet type Reply = StickerSet;
impl Function for getUnreadMentions type Reply = Messages;
impl Function for getWebPage type Reply = WebPage;
impl Function for getWebPagePreview type Reply = MessageMedia;
impl Function for hideReportSpam type Reply = Bool;
impl Function for importChatInvite type Reply = Updates;
impl Function for installStickerSet type Reply = StickerSetInstallResult;
impl Function for migrateChat type Reply = Updates;
impl Function for readEncryptedHistory type Reply = Bool;
impl Function for readFeaturedStickers type Reply = Bool;
impl Function for clacks::mtproto::rpc::messages::readHistory type Reply = AffectedMessages;
impl Function for readMentions type Reply = AffectedHistory;
impl Function for clacks::mtproto::rpc::messages::readMessageContents type Reply = AffectedMessages;
impl Function for receivedMessages type Reply = Vector<Boxed, ReceivedNotifyMessage>;
impl Function for receivedQueue type Reply = Vector<Bare, long>;
impl Function for reorderPinnedDialogs type Reply = Bool;
impl Function for reorderStickerSets type Reply = Bool;
impl Function for reportEncryptedSpam type Reply = Bool;
impl Function for clacks::mtproto::rpc::messages::reportSpam type Reply = Bool;
impl Function for requestEncryption type Reply = EncryptedChat;
impl Function for saveDraft type Reply = Bool;
impl Function for saveGif type Reply = Bool;
impl Function for saveRecentSticker type Reply = Bool;
impl Function for clacks::mtproto::rpc::messages::search type Reply = Messages;
impl Function for searchGifs type Reply = FoundGifs;
impl Function for searchGlobal type Reply = Messages;
impl Function for sendEncrypted type Reply = SentEncryptedMessage;
impl Function for sendEncryptedFile type Reply = SentEncryptedMessage;
impl Function for sendEncryptedService type Reply = SentEncryptedMessage;
impl Function for sendInlineBotResult type Reply = Updates;
impl Function for sendMedia type Reply = Updates;
impl Function for sendMessage type Reply = Updates;
impl Function for sendMultiMedia type Reply = Updates;
impl Function for sendScreenshotNotification type Reply = Updates;
impl Function for setBotCallbackAnswer type Reply = Bool;
impl Function for setBotPrecheckoutResults type Reply = Bool;
impl Function for setBotShippingResults type Reply = Bool;
impl Function for setEncryptedTyping type Reply = Bool;
impl Function for setGameScore type Reply = Updates;
impl Function for setInlineBotResults type Reply = Bool;
impl Function for setInlineGameScore type Reply = Bool;
impl Function for setTyping type Reply = Bool;
impl Function for startBot type Reply = Updates;
impl Function for toggleChatAdmins type Reply = Updates;
impl Function for toggleDialogPin type Reply = Bool;
impl Function for uninstallStickerSet type Reply = Bool;
impl Function for uploadEncryptedFile type Reply = EncryptedFile;
impl Function for uploadMedia type Reply = MessageMedia;
impl Function for clearSavedInfo type Reply = Bool;
impl Function for getPaymentForm type Reply = PaymentForm;
impl Function for getPaymentReceipt type Reply = PaymentReceipt;
impl Function for getSavedInfo type Reply = SavedInfo;
impl Function for sendPaymentForm type Reply = PaymentResult;
impl Function for validateRequestedInfo type Reply = ValidatedRequestedInfo;
impl Function for acceptCall type Reply = PhoneCall;
impl Function for confirmCall type Reply = PhoneCall;
impl Function for discardCall type Reply = Updates;
impl Function for getCallConfig type Reply = DataJSON;
impl Function for receivedCall type Reply = Bool;
impl Function for requestCall type Reply = PhoneCall;
impl Function for saveCallDebug type Reply = Bool;
impl Function for setCallRating type Reply = Updates;
impl Function for deletePhotos type Reply = Vector<Bare, long>;
impl Function for getUserPhotos type Reply = Photos;
impl Function for updateProfilePhoto type Reply = UserProfilePhoto;
impl Function for uploadProfilePhoto type Reply = Photo;
impl Function for addStickerToSet type Reply = StickerSet;
impl Function for changeStickerPosition type Reply = StickerSet;
impl Function for createStickerSet type Reply = StickerSet;
impl Function for removeStickerFromSet type Reply = StickerSet;
impl Function for getChannelDifference type Reply = ChannelDifference;
impl Function for clacks::mtproto::rpc::updates::getDifference type Reply = Difference;
impl Function for getState type Reply = State;
impl Function for getCdnFile type Reply = CdnFile;
impl Function for getCdnFileHashes type Reply = Vector<Boxed, CdnFileHash>;
impl Function for getFile type Reply = File;
impl Function for getWebFile type Reply = WebFile;
impl Function for reuploadCdnFile type Reply = Vector<Boxed, CdnFileHash>;
impl Function for saveBigFilePart type Reply = Bool;
impl Function for saveFilePart type Reply = Bool;
impl Function for getFullUser type Reply = UserFull;
impl Function for getUsers type Reply = Vector<Boxed, User>;
impl Function for destroy_auth_key type Reply = DestroyAuthKeyRes;
impl Function for destroy_session type Reply = DestroySessionRes;
impl Function for get_future_salts type Reply = FutureSalts;
impl<X: Function> Function for initConnection<X> type Reply = X::Reply;
impl<X: Function> Function for invokeAfterMsg<X> type Reply = X::Reply;
impl<X: Function> Function for invokeAfterMsgs<X> type Reply = X::Reply;
impl<X: Function> Function for invokeWithLayer<X> type Reply = X::Reply;
impl<X: Function> Function for invokeWithoutUpdates<X> type Reply = X::Reply;
impl Function for ping type Reply = Pong;
impl Function for ping_delay_disconnect type Reply = Pong;
impl Function for req_DH_params type Reply = Server_DH_Params;
impl Function for req_pq type Reply = ResPQ;
impl Function for rpc_drop_answer type Reply = RpcDropAnswer;
impl Function for set_client_DH_params type Reply = Set_client_DH_params_answer;