Skip to main content

Method

Trait Method 

Source
pub trait Method: Serialize + Clone {
    type Response: DeserializeOwned + Debug;

    const TYPE: &'static str;

    // Provided method
    fn tag(self) -> MethodType<Self>
       where Self: Sized { ... }
}

Required Associated Constants§

Source

const TYPE: &'static str

Required Associated Types§

Provided Methods§

Source

fn tag(self) -> MethodType<Self>
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Method for AcceptCall

Source§

const TYPE: &'static str = "acceptCall"

Source§

type Response = Ok

Source§

impl Method for AcceptTermsOfService

Source§

const TYPE: &'static str = "acceptTermsOfService"

Source§

type Response = Ok

Source§

impl Method for AddChatMember

Source§

const TYPE: &'static str = "addChatMember"

Source§

type Response = Ok

Source§

impl Method for AddChatMembers

Source§

const TYPE: &'static str = "addChatMembers"

Source§

type Response = Ok

Source§

impl Method for AddFavoriteSticker

Source§

const TYPE: &'static str = "addFavoriteSticker"

Source§

type Response = Ok

Source§

impl Method for AddLocalMessage

Source§

const TYPE: &'static str = "addLocalMessage"

Source§

type Response = Message

Source§

impl Method for AddNetworkStatistics

Source§

const TYPE: &'static str = "addNetworkStatistics"

Source§

type Response = Ok

Source§

impl Method for AddProxy

Source§

const TYPE: &'static str = "addProxy"

Source§

type Response = Proxy

Source§

impl Method for AddRecentSticker

Source§

const TYPE: &'static str = "addRecentSticker"

Source§

type Response = Stickers

Source§

impl Method for AddRecentlyFoundChat

Source§

const TYPE: &'static str = "addRecentlyFoundChat"

Source§

type Response = Ok

Source§

impl Method for AddSavedAnimation

Source§

const TYPE: &'static str = "addSavedAnimation"

Source§

type Response = Ok

Source§

impl Method for AddStickerToSet

Source§

const TYPE: &'static str = "addStickerToSet"

Source§

type Response = StickerSet

Source§

impl Method for AnswerCallbackQuery

Source§

const TYPE: &'static str = "answerCallbackQuery"

Source§

type Response = Ok

Source§

impl Method for AnswerCustomQuery

Source§

const TYPE: &'static str = "answerCustomQuery"

Source§

type Response = Ok

Source§

impl Method for AnswerInlineQuery

Source§

const TYPE: &'static str = "answerInlineQuery"

Source§

type Response = Ok

Source§

impl Method for AnswerPreCheckoutQuery

Source§

const TYPE: &'static str = "answerPreCheckoutQuery"

Source§

type Response = Ok

Source§

impl Method for AnswerShippingQuery

Source§

const TYPE: &'static str = "answerShippingQuery"

Source§

type Response = Ok

Source§

impl Method for BlockUser

Source§

const TYPE: &'static str = "blockUser"

Source§

type Response = Ok

Source§

impl Method for CancelDownloadFile

Source§

const TYPE: &'static str = "cancelDownloadFile"

Source§

type Response = Ok

Source§

impl Method for CancelUploadFile

Source§

const TYPE: &'static str = "cancelUploadFile"

Source§

type Response = Ok

Source§

impl Method for ChangeChatReportSpamState

Source§

const TYPE: &'static str = "changeChatReportSpamState"

Source§

type Response = Ok

Source§

impl Method for ChangeImportedContacts

Source§

const TYPE: &'static str = "changeImportedContacts"

Source§

type Response = ImportedContacts

Source§

impl Method for ChangePhoneNumber

Source§

const TYPE: &'static str = "changePhoneNumber"

Source§

type Response = AuthenticationCodeInfo

Source§

impl Method for ChangeStickerSet

Source§

const TYPE: &'static str = "changeStickerSet"

Source§

type Response = Ok

Source§

impl Method for CheckAuthenticationBotToken

Source§

const TYPE: &'static str = "checkAuthenticationBotToken"

Source§

type Response = Ok

Source§

impl Method for CheckAuthenticationCode

Source§

const TYPE: &'static str = "checkAuthenticationCode"

Source§

type Response = Ok

Source§

impl Method for CheckAuthenticationPassword

Source§

const TYPE: &'static str = "checkAuthenticationPassword"

Source§

type Response = Ok

Source§

impl Method for CheckChangePhoneNumberCode

Source§

const TYPE: &'static str = "checkChangePhoneNumberCode"

Source§

type Response = Ok

Source§

const TYPE: &'static str = "checkChatInviteLink"

Source§

type Response = ChatInviteLinkInfo

Source§

impl Method for CheckChatUsername

Source§

const TYPE: &'static str = "checkChatUsername"

Source§

type Response = CheckChatUsernameResult

Source§

impl Method for CheckDatabaseEncryptionKey

Source§

const TYPE: &'static str = "checkDatabaseEncryptionKey"

Source§

type Response = Ok

Source§

impl Method for CheckEmailAddressVerificationCode

Source§

const TYPE: &'static str = "checkEmailAddressVerificationCode"

Source§

type Response = Ok

Source§

impl Method for CheckPhoneNumberConfirmationCode

Source§

const TYPE: &'static str = "checkPhoneNumberConfirmationCode"

Source§

type Response = Ok

Source§

impl Method for CheckPhoneNumberVerificationCode

Source§

const TYPE: &'static str = "checkPhoneNumberVerificationCode"

Source§

type Response = Ok

Source§

impl Method for CleanFileName

Source§

const TYPE: &'static str = "cleanFileName"

Source§

type Response = Text

Source§

impl Method for ClearAllDraftMessages

Source§

const TYPE: &'static str = "clearAllDraftMessages"

Source§

type Response = Ok

Source§

impl Method for ClearImportedContacts

Source§

const TYPE: &'static str = "clearImportedContacts"

Source§

type Response = Ok

Source§

impl Method for ClearRecentStickers

Source§

const TYPE: &'static str = "clearRecentStickers"

Source§

type Response = Ok

Source§

impl Method for ClearRecentlyFoundChats

Source§

const TYPE: &'static str = "clearRecentlyFoundChats"

Source§

type Response = Ok

Source§

impl Method for Close

Source§

const TYPE: &'static str = "close"

Source§

type Response = Ok

Source§

impl Method for CloseChat

Source§

const TYPE: &'static str = "closeChat"

Source§

type Response = Ok

Source§

impl Method for CloseSecretChat

Source§

const TYPE: &'static str = "closeSecretChat"

Source§

type Response = Ok

Source§

impl Method for CreateBasicGroupChat

Source§

const TYPE: &'static str = "createBasicGroupChat"

Source§

type Response = Chat

Source§

impl Method for CreateCall

Source§

const TYPE: &'static str = "createCall"

Source§

type Response = CallId

Source§

impl Method for CreateNewBasicGroupChat

Source§

const TYPE: &'static str = "createNewBasicGroupChat"

Source§

type Response = Chat

Source§

impl Method for CreateNewSecretChat

Source§

const TYPE: &'static str = "createNewSecretChat"

Source§

type Response = Chat

Source§

impl Method for CreateNewStickerSet

Source§

const TYPE: &'static str = "createNewStickerSet"

Source§

type Response = StickerSet

Source§

impl Method for CreateNewSupergroupChat

Source§

const TYPE: &'static str = "createNewSupergroupChat"

Source§

type Response = Chat

Source§

impl Method for CreatePrivateChat

Source§

const TYPE: &'static str = "createPrivateChat"

Source§

type Response = Chat

Source§

impl Method for CreateSecretChat

Source§

const TYPE: &'static str = "createSecretChat"

Source§

type Response = Chat

Source§

impl Method for CreateSupergroupChat

Source§

const TYPE: &'static str = "createSupergroupChat"

Source§

type Response = Chat

Source§

impl Method for CreateTemporaryPassword

Source§

const TYPE: &'static str = "createTemporaryPassword"

Source§

type Response = TemporaryPasswordState

Source§

impl Method for DeleteAccount

Source§

const TYPE: &'static str = "deleteAccount"

Source§

type Response = Ok

Source§

impl Method for DeleteChatHistory

Source§

const TYPE: &'static str = "deleteChatHistory"

Source§

type Response = Ok

Source§

impl Method for DeleteChatMessagesFromUser

Source§

const TYPE: &'static str = "deleteChatMessagesFromUser"

Source§

type Response = Ok

Source§

impl Method for DeleteChatReplyMarkup

Source§

const TYPE: &'static str = "deleteChatReplyMarkup"

Source§

type Response = Ok

Source§

impl Method for DeleteFile

Source§

const TYPE: &'static str = "deleteFile"

Source§

type Response = Ok

Source§

impl Method for DeleteLanguagePack

Source§

const TYPE: &'static str = "deleteLanguagePack"

Source§

type Response = Ok

Source§

impl Method for DeleteMessages

Source§

const TYPE: &'static str = "deleteMessages"

Source§

type Response = Ok

Source§

impl Method for DeletePassportElement

Source§

const TYPE: &'static str = "deletePassportElement"

Source§

type Response = Ok

Source§

impl Method for DeleteProfilePhoto

Source§

const TYPE: &'static str = "deleteProfilePhoto"

Source§

type Response = Ok

Source§

impl Method for DeleteSavedCredentials

Source§

const TYPE: &'static str = "deleteSavedCredentials"

Source§

type Response = Ok

Source§

impl Method for DeleteSavedOrderInfo

Source§

const TYPE: &'static str = "deleteSavedOrderInfo"

Source§

type Response = Ok

Source§

impl Method for DeleteSupergroup

Source§

const TYPE: &'static str = "deleteSupergroup"

Source§

type Response = Ok

Source§

impl Method for Destroy

Source§

const TYPE: &'static str = "destroy"

Source§

type Response = Ok

Source§

impl Method for DisableProxy

Source§

const TYPE: &'static str = "disableProxy"

Source§

type Response = Ok

Source§

impl Method for DiscardCall

Source§

const TYPE: &'static str = "discardCall"

Source§

type Response = Ok

Source§

impl Method for DisconnectAllWebsites

Source§

const TYPE: &'static str = "disconnectAllWebsites"

Source§

type Response = Ok

Source§

impl Method for DisconnectWebsite

Source§

const TYPE: &'static str = "disconnectWebsite"

Source§

type Response = Ok

Source§

impl Method for DownloadFile

Source§

const TYPE: &'static str = "downloadFile"

Source§

type Response = File

Source§

impl Method for EditCustomLanguagePackInfo

Source§

const TYPE: &'static str = "editCustomLanguagePackInfo"

Source§

type Response = Ok

Source§

impl Method for EditInlineMessageCaption

Source§

const TYPE: &'static str = "editInlineMessageCaption"

Source§

type Response = Ok

Source§

impl Method for EditInlineMessageLiveLocation

Source§

const TYPE: &'static str = "editInlineMessageLiveLocation"

Source§

type Response = Ok

Source§

impl Method for EditInlineMessageMedia

Source§

const TYPE: &'static str = "editInlineMessageMedia"

Source§

type Response = Ok

Source§

impl Method for EditInlineMessageReplyMarkup

Source§

const TYPE: &'static str = "editInlineMessageReplyMarkup"

Source§

type Response = Ok

Source§

impl Method for EditInlineMessageText

Source§

const TYPE: &'static str = "editInlineMessageText"

Source§

type Response = Ok

Source§

impl Method for EditMessageCaption

Source§

const TYPE: &'static str = "editMessageCaption"

Source§

type Response = Message

Source§

impl Method for EditMessageLiveLocation

Source§

const TYPE: &'static str = "editMessageLiveLocation"

Source§

type Response = Message

Source§

impl Method for EditMessageMedia

Source§

const TYPE: &'static str = "editMessageMedia"

Source§

type Response = Message

Source§

impl Method for EditMessageReplyMarkup

Source§

const TYPE: &'static str = "editMessageReplyMarkup"

Source§

type Response = Message

Source§

impl Method for EditMessageText

Source§

const TYPE: &'static str = "editMessageText"

Source§

type Response = Message

Source§

impl Method for EditProxy

Source§

const TYPE: &'static str = "editProxy"

Source§

type Response = Proxy

Source§

impl Method for EnableProxy

Source§

const TYPE: &'static str = "enableProxy"

Source§

type Response = Ok

Source§

impl Method for FinishFileGeneration

Source§

const TYPE: &'static str = "finishFileGeneration"

Source§

type Response = Ok

Source§

impl Method for ForwardMessages

Source§

const TYPE: &'static str = "forwardMessages"

Source§

type Response = Messages

Source§

const TYPE: &'static str = "generateChatInviteLink"

Source§

type Response = ChatInviteLink

Source§

impl Method for GetAccountTtl

Source§

const TYPE: &'static str = "getAccountTtl"

Source§

type Response = AccountTtl

Source§

impl Method for GetActiveLiveLocationMessages

Source§

const TYPE: &'static str = "getActiveLiveLocationMessages"

Source§

type Response = Messages

Source§

impl Method for GetActiveSessions

Source§

const TYPE: &'static str = "getActiveSessions"

Source§

type Response = Sessions

Source§

impl Method for GetAllPassportElements

Source§

const TYPE: &'static str = "getAllPassportElements"

Source§

type Response = PassportElements

Source§

impl Method for GetArchivedStickerSets

Source§

const TYPE: &'static str = "getArchivedStickerSets"

Source§

type Response = StickerSets

Source§

impl Method for GetAttachedStickerSets

Source§

const TYPE: &'static str = "getAttachedStickerSets"

Source§

type Response = StickerSets

Source§

impl Method for GetAuthorizationState

Source§

const TYPE: &'static str = "getAuthorizationState"

Source§

type Response = AuthorizationState

Source§

impl Method for GetBasicGroup

Source§

const TYPE: &'static str = "getBasicGroup"

Source§

type Response = BasicGroup

Source§

impl Method for GetBasicGroupFullInfo

Source§

const TYPE: &'static str = "getBasicGroupFullInfo"

Source§

type Response = BasicGroupFullInfo

Source§

impl Method for GetBlockedUsers

Source§

const TYPE: &'static str = "getBlockedUsers"

Source§

type Response = Users

Source§

impl Method for GetCallbackQueryAnswer

Source§

const TYPE: &'static str = "getCallbackQueryAnswer"

Source§

type Response = CallbackQueryAnswer

Source§

impl Method for GetChat

Source§

const TYPE: &'static str = "getChat"

Source§

type Response = Chat

Source§

impl Method for GetChatAdministrators

Source§

const TYPE: &'static str = "getChatAdministrators"

Source§

type Response = Users

Source§

impl Method for GetChatEventLog

Source§

const TYPE: &'static str = "getChatEventLog"

Source§

type Response = ChatEvents

Source§

impl Method for GetChatHistory

Source§

const TYPE: &'static str = "getChatHistory"

Source§

type Response = Messages

Source§

impl Method for GetChatMember

Source§

const TYPE: &'static str = "getChatMember"

Source§

type Response = ChatMember

Source§

impl Method for GetChatMessageByDate

Source§

const TYPE: &'static str = "getChatMessageByDate"

Source§

type Response = Message

Source§

impl Method for GetChatMessageCount

Source§

const TYPE: &'static str = "getChatMessageCount"

Source§

type Response = Count

Source§

impl Method for GetChatPinnedMessage

Source§

const TYPE: &'static str = "getChatPinnedMessage"

Source§

type Response = Message

Source§

impl Method for GetChatReportSpamState

Source§

const TYPE: &'static str = "getChatReportSpamState"

Source§

type Response = ChatReportSpamState

Source§

impl Method for GetChats

Source§

const TYPE: &'static str = "getChats"

Source§

type Response = Chats

Source§

impl Method for GetConnectedWebsites

Source§

const TYPE: &'static str = "getConnectedWebsites"

Source§

type Response = ConnectedWebsites

Source§

impl Method for GetContacts

Source§

const TYPE: &'static str = "getContacts"

Source§

type Response = Users

Source§

impl Method for GetCountryCode

Source§

const TYPE: &'static str = "getCountryCode"

Source§

type Response = Text

Source§

impl Method for GetCreatedPublicChats

Source§

const TYPE: &'static str = "getCreatedPublicChats"

Source§

type Response = Chats

Source§

impl Method for GetDeepLinkInfo

Source§

const TYPE: &'static str = "getDeepLinkInfo"

Source§

type Response = DeepLinkInfo

Source§

impl Method for GetFavoriteStickers

Source§

const TYPE: &'static str = "getFavoriteStickers"

Source§

type Response = Stickers

Source§

impl Method for GetFile

Source§

const TYPE: &'static str = "getFile"

Source§

type Response = File

Source§

impl Method for GetFileExtension

Source§

const TYPE: &'static str = "getFileExtension"

Source§

type Response = Text

Source§

impl Method for GetFileMimeType

Source§

const TYPE: &'static str = "getFileMimeType"

Source§

type Response = Text

Source§

impl Method for GetGameHighScores

Source§

const TYPE: &'static str = "getGameHighScores"

Source§

type Response = GameHighScores

Source§

impl Method for GetGroupsInCommon

Source§

const TYPE: &'static str = "getGroupsInCommon"

Source§

type Response = Chats

Source§

impl Method for GetImportedContactCount

Source§

const TYPE: &'static str = "getImportedContactCount"

Source§

type Response = Count

Source§

impl Method for GetInlineGameHighScores

Source§

const TYPE: &'static str = "getInlineGameHighScores"

Source§

type Response = GameHighScores

Source§

impl Method for GetInlineQueryResults

Source§

const TYPE: &'static str = "getInlineQueryResults"

Source§

type Response = InlineQueryResults

Source§

impl Method for GetInstalledStickerSets

Source§

const TYPE: &'static str = "getInstalledStickerSets"

Source§

type Response = StickerSets

Source§

impl Method for GetInviteText

Source§

const TYPE: &'static str = "getInviteText"

Source§

type Response = Text

Source§

impl Method for GetLanguagePackString

Source§

const TYPE: &'static str = "getLanguagePackString"

Source§

type Response = LanguagePackStringValue

Source§

impl Method for GetLanguagePackStrings

Source§

const TYPE: &'static str = "getLanguagePackStrings"

Source§

type Response = LanguagePackStrings

Source§

impl Method for GetLocalizationTargetInfo

Source§

const TYPE: &'static str = "getLocalizationTargetInfo"

Source§

type Response = LocalizationTargetInfo

Source§

impl Method for GetMapThumbnailFile

Source§

const TYPE: &'static str = "getMapThumbnailFile"

Source§

type Response = File

Source§

impl Method for GetMe

Source§

const TYPE: &'static str = "getMe"

Source§

type Response = User

Source§

impl Method for GetMessage

Source§

const TYPE: &'static str = "getMessage"

Source§

type Response = Message

Source§

impl Method for GetMessages

Source§

const TYPE: &'static str = "getMessages"

Source§

type Response = Messages

Source§

impl Method for GetNetworkStatistics

Source§

const TYPE: &'static str = "getNetworkStatistics"

Source§

type Response = NetworkStatistics

Source§

impl Method for GetOption

Source§

const TYPE: &'static str = "getOption"

Source§

type Response = OptionValue

Source§

impl Method for GetPassportAuthorizationForm

Source§

const TYPE: &'static str = "getPassportAuthorizationForm"

Source§

type Response = PassportAuthorizationForm

Source§

impl Method for GetPassportElement

Source§

const TYPE: &'static str = "getPassportElement"

Source§

type Response = PassportElement

Source§

impl Method for GetPasswordState

Source§

const TYPE: &'static str = "getPasswordState"

Source§

type Response = PasswordState

Source§

impl Method for GetPaymentForm

Source§

const TYPE: &'static str = "getPaymentForm"

Source§

type Response = PaymentForm

Source§

impl Method for GetPaymentReceipt

Source§

const TYPE: &'static str = "getPaymentReceipt"

Source§

type Response = PaymentReceipt

Source§

impl Method for GetPreferredCountryLanguage

Source§

const TYPE: &'static str = "getPreferredCountryLanguage"

Source§

type Response = Text

Source§

impl Method for GetProxies

Source§

const TYPE: &'static str = "getProxies"

Source§

type Response = Proxies

Source§

const TYPE: &'static str = "getProxyLink"

Source§

type Response = Text

Source§

const TYPE: &'static str = "getPublicMessageLink"

Source§

type Response = PublicMessageLink

Source§

impl Method for GetRecentInlineBots

Source§

const TYPE: &'static str = "getRecentInlineBots"

Source§

type Response = Users

Source§

impl Method for GetRecentStickers

Source§

const TYPE: &'static str = "getRecentStickers"

Source§

type Response = Stickers

Source§

impl Method for GetRecentlyVisitedTMeUrls

Source§

const TYPE: &'static str = "getRecentlyVisitedTMeUrls"

Source§

type Response = TMeUrls

Source§

impl Method for GetRecoveryEmailAddress

Source§

const TYPE: &'static str = "getRecoveryEmailAddress"

Source§

type Response = RecoveryEmailAddress

Source§

impl Method for GetRemoteFile

Source§

const TYPE: &'static str = "getRemoteFile"

Source§

type Response = File

Source§

impl Method for GetRepliedMessage

Source§

const TYPE: &'static str = "getRepliedMessage"

Source§

type Response = Message

Source§

impl Method for GetSavedAnimations

Source§

const TYPE: &'static str = "getSavedAnimations"

Source§

type Response = Animations

Source§

impl Method for GetSavedOrderInfo

Source§

const TYPE: &'static str = "getSavedOrderInfo"

Source§

type Response = OrderInfo

Source§

impl Method for GetScopeNotificationSettings

Source§

const TYPE: &'static str = "getScopeNotificationSettings"

Source§

type Response = ScopeNotificationSettings

Source§

impl Method for GetSecretChat

Source§

const TYPE: &'static str = "getSecretChat"

Source§

type Response = SecretChat

Source§

impl Method for GetStickerEmojis

Source§

const TYPE: &'static str = "getStickerEmojis"

Source§

type Response = StickerEmojis

Source§

impl Method for GetStickerSet

Source§

const TYPE: &'static str = "getStickerSet"

Source§

type Response = StickerSet

Source§

impl Method for GetStickers

Source§

const TYPE: &'static str = "getStickers"

Source§

type Response = Stickers

Source§

impl Method for GetStorageStatistics

Source§

const TYPE: &'static str = "getStorageStatistics"

Source§

type Response = StorageStatistics

Source§

impl Method for GetStorageStatisticsFast

Source§

const TYPE: &'static str = "getStorageStatisticsFast"

Source§

type Response = StorageStatisticsFast

Source§

impl Method for GetSupergroup

Source§

const TYPE: &'static str = "getSupergroup"

Source§

type Response = Supergroup

Source§

impl Method for GetSupergroupFullInfo

Source§

const TYPE: &'static str = "getSupergroupFullInfo"

Source§

type Response = SupergroupFullInfo

Source§

impl Method for GetSupergroupMembers

Source§

const TYPE: &'static str = "getSupergroupMembers"

Source§

type Response = ChatMembers

Source§

impl Method for GetSupportUser

Source§

const TYPE: &'static str = "getSupportUser"

Source§

type Response = User

Source§

impl Method for GetTemporaryPasswordState

Source§

const TYPE: &'static str = "getTemporaryPasswordState"

Source§

type Response = TemporaryPasswordState

Source§

impl Method for GetTextEntities

Source§

const TYPE: &'static str = "getTextEntities"

Source§

type Response = TextEntities

Source§

impl Method for GetTopChats

Source§

const TYPE: &'static str = "getTopChats"

Source§

type Response = Chats

Source§

impl Method for GetTrendingStickerSets

Source§

const TYPE: &'static str = "getTrendingStickerSets"

Source§

type Response = StickerSets

Source§

impl Method for GetUser

Source§

const TYPE: &'static str = "getUser"

Source§

type Response = User

Source§

impl Method for GetUserFullInfo

Source§

const TYPE: &'static str = "getUserFullInfo"

Source§

type Response = UserFullInfo

Source§

impl Method for GetUserPrivacySettingRules

Source§

const TYPE: &'static str = "getUserPrivacySettingRules"

Source§

type Response = UserPrivacySettingRules

Source§

impl Method for GetUserProfilePhotos

Source§

const TYPE: &'static str = "getUserProfilePhotos"

Source§

type Response = UserProfilePhotos

Source§

impl Method for GetWallpapers

Source§

const TYPE: &'static str = "getWallpapers"

Source§

type Response = Wallpapers

Source§

impl Method for GetWebPageInstantView

Source§

const TYPE: &'static str = "getWebPageInstantView"

Source§

type Response = WebPageInstantView

Source§

impl Method for GetWebPagePreview

Source§

const TYPE: &'static str = "getWebPagePreview"

Source§

type Response = WebPage

Source§

impl Method for ImportContacts

Source§

const TYPE: &'static str = "importContacts"

Source§

type Response = ImportedContacts

Source§

impl Method for JoinChat

Source§

const TYPE: &'static str = "joinChat"

Source§

type Response = Ok

Source§

const TYPE: &'static str = "joinChatByInviteLink"

Source§

type Response = Chat

Source§

impl Method for LeaveChat

Source§

const TYPE: &'static str = "leaveChat"

Source§

type Response = Ok

Source§

impl Method for LogOut

Source§

const TYPE: &'static str = "logOut"

Source§

type Response = Ok

Source§

impl Method for OpenChat

Source§

const TYPE: &'static str = "openChat"

Source§

type Response = Ok

Source§

impl Method for OpenMessageContent

Source§

const TYPE: &'static str = "openMessageContent"

Source§

type Response = Ok

Source§

impl Method for OptimizeStorage

Source§

const TYPE: &'static str = "optimizeStorage"

Source§

type Response = StorageStatistics

Source§

impl Method for ParseTextEntities

Source§

const TYPE: &'static str = "parseTextEntities"

Source§

type Response = FormattedText

Source§

impl Method for PinSupergroupMessage

Source§

const TYPE: &'static str = "pinSupergroupMessage"

Source§

type Response = Ok

Source§

impl Method for PingProxy

Source§

const TYPE: &'static str = "pingProxy"

Source§

type Response = Seconds

Source§

impl Method for ProcessDcUpdate

Source§

const TYPE: &'static str = "processDcUpdate"

Source§

type Response = Ok

Source§

impl Method for ReadAllChatMentions

Source§

const TYPE: &'static str = "readAllChatMentions"

Source§

type Response = Ok

Source§

impl Method for RecoverAuthenticationPassword

Source§

const TYPE: &'static str = "recoverAuthenticationPassword"

Source§

type Response = Ok

Source§

impl Method for RecoverPassword

Source§

const TYPE: &'static str = "recoverPassword"

Source§

type Response = PasswordState

Source§

impl Method for RegisterDevice

Source§

const TYPE: &'static str = "registerDevice"

Source§

type Response = Ok

Source§

impl Method for RemoveContacts

Source§

const TYPE: &'static str = "removeContacts"

Source§

type Response = Ok

Source§

impl Method for RemoveFavoriteSticker

Source§

const TYPE: &'static str = "removeFavoriteSticker"

Source§

type Response = Ok

Source§

impl Method for RemoveProxy

Source§

const TYPE: &'static str = "removeProxy"

Source§

type Response = Ok

Source§

impl Method for RemoveRecentHashtag

Source§

const TYPE: &'static str = "removeRecentHashtag"

Source§

type Response = Ok

Source§

impl Method for RemoveRecentSticker

Source§

const TYPE: &'static str = "removeRecentSticker"

Source§

type Response = Ok

Source§

impl Method for RemoveRecentlyFoundChat

Source§

const TYPE: &'static str = "removeRecentlyFoundChat"

Source§

type Response = Ok

Source§

impl Method for RemoveSavedAnimation

Source§

const TYPE: &'static str = "removeSavedAnimation"

Source§

type Response = Ok

Source§

impl Method for RemoveStickerFromSet

Source§

const TYPE: &'static str = "removeStickerFromSet"

Source§

type Response = Ok

Source§

impl Method for RemoveTopChat

Source§

const TYPE: &'static str = "removeTopChat"

Source§

type Response = Ok

Source§

impl Method for ReorderInstalledStickerSets

Source§

const TYPE: &'static str = "reorderInstalledStickerSets"

Source§

type Response = Ok

Source§

impl Method for ReportChat

Source§

const TYPE: &'static str = "reportChat"

Source§

type Response = Ok

Source§

impl Method for ReportSupergroupSpam

Source§

const TYPE: &'static str = "reportSupergroupSpam"

Source§

type Response = Ok

Source§

impl Method for RequestAuthenticationPasswordRecovery

Source§

const TYPE: &'static str = "requestAuthenticationPasswordRecovery"

Source§

type Response = Ok

Source§

impl Method for RequestPasswordRecovery

Source§

const TYPE: &'static str = "requestPasswordRecovery"

Source§

type Response = EmailAddressAuthenticationCodeInfo

Source§

impl Method for ResendAuthenticationCode

Source§

const TYPE: &'static str = "resendAuthenticationCode"

Source§

type Response = Ok

Source§

impl Method for ResendChangePhoneNumberCode

Source§

const TYPE: &'static str = "resendChangePhoneNumberCode"

Source§

type Response = AuthenticationCodeInfo

Source§

impl Method for ResendEmailAddressVerificationCode

Source§

const TYPE: &'static str = "resendEmailAddressVerificationCode"

Source§

type Response = EmailAddressAuthenticationCodeInfo

Source§

impl Method for ResendPhoneNumberConfirmationCode

Source§

const TYPE: &'static str = "resendPhoneNumberConfirmationCode"

Source§

type Response = AuthenticationCodeInfo

Source§

impl Method for ResendPhoneNumberVerificationCode

Source§

const TYPE: &'static str = "resendPhoneNumberVerificationCode"

Source§

type Response = AuthenticationCodeInfo

Source§

impl Method for ResetAllNotificationSettings

Source§

const TYPE: &'static str = "resetAllNotificationSettings"

Source§

type Response = Ok

Source§

impl Method for ResetNetworkStatistics

Source§

const TYPE: &'static str = "resetNetworkStatistics"

Source§

type Response = Ok

Source§

impl Method for SearchCallMessages

Source§

const TYPE: &'static str = "searchCallMessages"

Source§

type Response = Messages

Source§

impl Method for SearchChatMembers

Source§

const TYPE: &'static str = "searchChatMembers"

Source§

type Response = ChatMembers

Source§

impl Method for SearchChatMessages

Source§

const TYPE: &'static str = "searchChatMessages"

Source§

type Response = Messages

Source§

impl Method for SearchChatRecentLocationMessages

Source§

const TYPE: &'static str = "searchChatRecentLocationMessages"

Source§

type Response = Messages

Source§

impl Method for SearchChats

Source§

const TYPE: &'static str = "searchChats"

Source§

type Response = Chats

Source§

impl Method for SearchChatsOnServer

Source§

const TYPE: &'static str = "searchChatsOnServer"

Source§

type Response = Chats

Source§

impl Method for SearchContacts

Source§

const TYPE: &'static str = "searchContacts"

Source§

type Response = Users

Source§

impl Method for SearchHashtags

Source§

const TYPE: &'static str = "searchHashtags"

Source§

type Response = Hashtags

Source§

impl Method for SearchInstalledStickerSets

Source§

const TYPE: &'static str = "searchInstalledStickerSets"

Source§

type Response = StickerSets

Source§

impl Method for SearchMessages

Source§

const TYPE: &'static str = "searchMessages"

Source§

type Response = Messages

Source§

impl Method for SearchPublicChat

Source§

const TYPE: &'static str = "searchPublicChat"

Source§

type Response = Chat

Source§

impl Method for SearchPublicChats

Source§

const TYPE: &'static str = "searchPublicChats"

Source§

type Response = Chats

Source§

impl Method for SearchSecretMessages

Source§

const TYPE: &'static str = "searchSecretMessages"

Source§

type Response = FoundMessages

Source§

impl Method for SearchStickerSet

Source§

const TYPE: &'static str = "searchStickerSet"

Source§

type Response = StickerSet

Source§

impl Method for SearchStickerSets

Source§

const TYPE: &'static str = "searchStickerSets"

Source§

type Response = StickerSets

Source§

impl Method for SearchStickers

Source§

const TYPE: &'static str = "searchStickers"

Source§

type Response = Stickers

Source§

impl Method for SendBotStartMessage

Source§

const TYPE: &'static str = "sendBotStartMessage"

Source§

type Response = Message

Source§

impl Method for SendCallDebugInformation

Source§

const TYPE: &'static str = "sendCallDebugInformation"

Source§

type Response = Ok

Source§

impl Method for SendCallRating

Source§

const TYPE: &'static str = "sendCallRating"

Source§

type Response = Ok

Source§

impl Method for SendChatAction

Source§

const TYPE: &'static str = "sendChatAction"

Source§

type Response = Ok

Source§

impl Method for SendChatScreenshotTakenNotification

Source§

const TYPE: &'static str = "sendChatScreenshotTakenNotification"

Source§

type Response = Ok

Source§

impl Method for SendChatSetTtlMessage

Source§

const TYPE: &'static str = "sendChatSetTtlMessage"

Source§

type Response = Message

Source§

impl Method for SendCustomRequest

Source§

const TYPE: &'static str = "sendCustomRequest"

Source§

type Response = CustomRequestResult

Source§

impl Method for SendEmailAddressVerificationCode

Source§

const TYPE: &'static str = "sendEmailAddressVerificationCode"

Source§

type Response = EmailAddressAuthenticationCodeInfo

Source§

impl Method for SendInlineQueryResultMessage

Source§

const TYPE: &'static str = "sendInlineQueryResultMessage"

Source§

type Response = Message

Source§

impl Method for SendMessage

Source§

const TYPE: &'static str = "sendMessage"

Source§

type Response = Message

Source§

impl Method for SendMessageAlbum

Source§

const TYPE: &'static str = "sendMessageAlbum"

Source§

type Response = Messages

Source§

impl Method for SendPassportAuthorizationForm

Source§

const TYPE: &'static str = "sendPassportAuthorizationForm"

Source§

type Response = Ok

Source§

impl Method for SendPaymentForm

Source§

const TYPE: &'static str = "sendPaymentForm"

Source§

type Response = PaymentResult

Source§

impl Method for SendPhoneNumberConfirmationCode

Source§

const TYPE: &'static str = "sendPhoneNumberConfirmationCode"

Source§

type Response = AuthenticationCodeInfo

Source§

impl Method for SendPhoneNumberVerificationCode

Source§

const TYPE: &'static str = "sendPhoneNumberVerificationCode"

Source§

type Response = AuthenticationCodeInfo

Source§

impl Method for SetAccountTtl

Source§

const TYPE: &'static str = "setAccountTtl"

Source§

type Response = Ok

Source§

impl Method for SetAlarm

Source§

const TYPE: &'static str = "setAlarm"

Source§

type Response = Ok

Source§

impl Method for SetAuthenticationPhoneNumber

Source§

const TYPE: &'static str = "setAuthenticationPhoneNumber"

Source§

type Response = Ok

Source§

impl Method for SetBio

Source§

const TYPE: &'static str = "setBio"

Source§

type Response = Ok

Source§

impl Method for SetBotUpdatesStatus

Source§

const TYPE: &'static str = "setBotUpdatesStatus"

Source§

type Response = Ok

Source§

impl Method for SetChatClientData

Source§

const TYPE: &'static str = "setChatClientData"

Source§

type Response = Ok

Source§

impl Method for SetChatDraftMessage

Source§

const TYPE: &'static str = "setChatDraftMessage"

Source§

type Response = Ok

Source§

impl Method for SetChatMemberStatus

Source§

const TYPE: &'static str = "setChatMemberStatus"

Source§

type Response = Ok

Source§

impl Method for SetChatNotificationSettings

Source§

const TYPE: &'static str = "setChatNotificationSettings"

Source§

type Response = Ok

Source§

impl Method for SetChatPhoto

Source§

const TYPE: &'static str = "setChatPhoto"

Source§

type Response = Ok

Source§

impl Method for SetChatTitle

Source§

const TYPE: &'static str = "setChatTitle"

Source§

type Response = Ok

Source§

impl Method for SetCustomLanguagePack

Source§

const TYPE: &'static str = "setCustomLanguagePack"

Source§

type Response = Ok

Source§

impl Method for SetCustomLanguagePackString

Source§

const TYPE: &'static str = "setCustomLanguagePackString"

Source§

type Response = Ok

Source§

impl Method for SetDatabaseEncryptionKey

Source§

const TYPE: &'static str = "setDatabaseEncryptionKey"

Source§

type Response = Ok

Source§

impl Method for SetFileGenerationProgress

Source§

const TYPE: &'static str = "setFileGenerationProgress"

Source§

type Response = Ok

Source§

impl Method for SetGameScore

Source§

const TYPE: &'static str = "setGameScore"

Source§

type Response = Message

Source§

impl Method for SetInlineGameScore

Source§

const TYPE: &'static str = "setInlineGameScore"

Source§

type Response = Ok

Source§

impl Method for SetName

Source§

const TYPE: &'static str = "setName"

Source§

type Response = Ok

Source§

impl Method for SetNetworkType

Source§

const TYPE: &'static str = "setNetworkType"

Source§

type Response = Ok

Source§

impl Method for SetOption

Source§

const TYPE: &'static str = "setOption"

Source§

type Response = Ok

Source§

impl Method for SetPassportElement

Source§

const TYPE: &'static str = "setPassportElement"

Source§

type Response = PassportElement

Source§

impl Method for SetPassportElementErrors

Source§

const TYPE: &'static str = "setPassportElementErrors"

Source§

type Response = Ok

Source§

impl Method for SetPassword

Source§

const TYPE: &'static str = "setPassword"

Source§

type Response = PasswordState

Source§

impl Method for SetPinnedChats

Source§

const TYPE: &'static str = "setPinnedChats"

Source§

type Response = Ok

Source§

impl Method for SetProfilePhoto

Source§

const TYPE: &'static str = "setProfilePhoto"

Source§

type Response = Ok

Source§

impl Method for SetRecoveryEmailAddress

Source§

const TYPE: &'static str = "setRecoveryEmailAddress"

Source§

type Response = PasswordState

Source§

impl Method for SetScopeNotificationSettings

Source§

const TYPE: &'static str = "setScopeNotificationSettings"

Source§

type Response = Ok

Source§

impl Method for SetStickerPositionInSet

Source§

const TYPE: &'static str = "setStickerPositionInSet"

Source§

type Response = Ok

Source§

impl Method for SetSupergroupDescription

Source§

const TYPE: &'static str = "setSupergroupDescription"

Source§

type Response = Ok

Source§

impl Method for SetSupergroupStickerSet

Source§

const TYPE: &'static str = "setSupergroupStickerSet"

Source§

type Response = Ok

Source§

impl Method for SetSupergroupUsername

Source§

const TYPE: &'static str = "setSupergroupUsername"

Source§

type Response = Ok

Source§

impl Method for SetTdlibParameters

Source§

const TYPE: &'static str = "setTdlibParameters"

Source§

type Response = Ok

Source§

impl Method for SetUserPrivacySettingRules

Source§

const TYPE: &'static str = "setUserPrivacySettingRules"

Source§

type Response = Ok

Source§

impl Method for SetUsername

Source§

const TYPE: &'static str = "setUsername"

Source§

type Response = Ok

Source§

impl Method for TerminateAllOtherSessions

Source§

const TYPE: &'static str = "terminateAllOtherSessions"

Source§

type Response = Ok

Source§

impl Method for TerminateSession

Source§

const TYPE: &'static str = "terminateSession"

Source§

type Response = Ok

Source§

impl Method for TestCallBytes

Source§

const TYPE: &'static str = "testCallBytes"

Source§

type Response = TestBytes

Source§

impl Method for TestCallEmpty

Source§

const TYPE: &'static str = "testCallEmpty"

Source§

type Response = Ok

Source§

impl Method for TestCallString

Source§

const TYPE: &'static str = "testCallString"

Source§

type Response = TestString

Source§

impl Method for TestCallVectorInt

Source§

const TYPE: &'static str = "testCallVectorInt"

Source§

type Response = TestVectorInt

Source§

impl Method for TestCallVectorIntObject

Source§

const TYPE: &'static str = "testCallVectorIntObject"

Source§

type Response = TestVectorIntObject

Source§

impl Method for TestCallVectorString

Source§

const TYPE: &'static str = "testCallVectorString"

Source§

type Response = TestVectorString

Source§

impl Method for TestCallVectorStringObject

Source§

const TYPE: &'static str = "testCallVectorStringObject"

Source§

type Response = TestVectorStringObject

Source§

impl Method for TestGetDifference

Source§

const TYPE: &'static str = "testGetDifference"

Source§

type Response = Ok

Source§

impl Method for TestNetwork

Source§

const TYPE: &'static str = "testNetwork"

Source§

type Response = Ok

Source§

impl Method for TestSquareInt

Source§

const TYPE: &'static str = "testSquareInt"

Source§

type Response = TestInt

Source§

impl Method for TestUseError

Source§

const TYPE: &'static str = "testUseError"

Source§

type Response = Error

Source§

impl Method for TestUseUpdate

Source§

const TYPE: &'static str = "testUseUpdate"

Source§

type Response = Update

Source§

impl Method for ToggleBasicGroupAdministrators

Source§

const TYPE: &'static str = "toggleBasicGroupAdministrators"

Source§

type Response = Ok

Source§

impl Method for ToggleChatDefaultDisableNotification

Source§

const TYPE: &'static str = "toggleChatDefaultDisableNotification"

Source§

type Response = Ok

Source§

impl Method for ToggleChatIsMarkedAsUnread

Source§

const TYPE: &'static str = "toggleChatIsMarkedAsUnread"

Source§

type Response = Ok

Source§

impl Method for ToggleChatIsPinned

Source§

const TYPE: &'static str = "toggleChatIsPinned"

Source§

type Response = Ok

Source§

impl Method for ToggleSupergroupInvites

Source§

const TYPE: &'static str = "toggleSupergroupInvites"

Source§

type Response = Ok

Source§

impl Method for ToggleSupergroupIsAllHistoryAvailable

Source§

const TYPE: &'static str = "toggleSupergroupIsAllHistoryAvailable"

Source§

type Response = Ok

Source§

impl Method for ToggleSupergroupSignMessages

Source§

const TYPE: &'static str = "toggleSupergroupSignMessages"

Source§

type Response = Ok

Source§

impl Method for UnblockUser

Source§

const TYPE: &'static str = "unblockUser"

Source§

type Response = Ok

Source§

impl Method for UnpinSupergroupMessage

Source§

const TYPE: &'static str = "unpinSupergroupMessage"

Source§

type Response = Ok

Source§

impl Method for UpgradeBasicGroupChatToSupergroupChat

Source§

const TYPE: &'static str = "upgradeBasicGroupChatToSupergroupChat"

Source§

type Response = Chat

Source§

impl Method for UploadFile

Source§

const TYPE: &'static str = "uploadFile"

Source§

type Response = File

Source§

impl Method for UploadStickerFile

Source§

const TYPE: &'static str = "uploadStickerFile"

Source§

type Response = File

Source§

impl Method for ValidateOrderInfo

Source§

const TYPE: &'static str = "validateOrderInfo"

Source§

type Response = ValidatedOrderInfo

Source§

impl Method for ViewMessages

Source§

const TYPE: &'static str = "viewMessages"

Source§

type Response = Ok

Source§

impl Method for ViewTrendingStickerSets

Source§

const TYPE: &'static str = "viewTrendingStickerSets"

Source§

type Response = Ok