pub enum Method {
Show 82 variants
GetMe,
LogOut,
Close,
SendMessage,
ForwardMessage,
CopyMessage,
SendPhoto,
SendAudio,
SendDocument,
SendVideo,
SendAnimation,
SendVoice,
SendVideoNote,
SendMediaGroup,
SendLocation,
SendVenue,
SendContract,
SendPoll,
SendDice,
SendChatAction,
GetUserProfilePhotos,
GetFile,
BanChatMember,
UnbanChatMember,
RestrictChatMember,
PromoteChatMember,
SetChatAdministratorCustomTitle,
BanChatSenderChat,
UnbanChatSenderChat,
SetChatPermissions,
ExportChatInviteLink,
CreateChatInviteLink,
EditChatInviteLink,
RevokeChatInviteLink,
ApproveChatJoinRequest,
DeclineChatJoinRequest,
SetChatPhoto,
DeleteChatPhoto,
SetChatTitle,
SetChatDescription,
PinChatMessage,
UnpinChatMessage,
UnpinAllChatMessages,
LeaveChat,
GetChat,
GetChatAdministrators,
GetChatMemberCount,
GetChatMember,
SetChatStickerSet,
DeleteChatStickerSet,
GetForumTopicIconStickers,
CreateForumTopic,
EditForumTopic,
CloseForumTopic,
ReopenForumTopic,
DeleteForumTopic,
UnpinAllForumTopicMessages,
EditGeneralForumTopic,
CloseGeneralForumTopic,
ReopenGeneralForumTopic,
HideGeneralForumTopic,
UnhideGeneralForumTopic,
AnswerCallbackQuery,
SetMyCommands,
DeleteMyCommands,
GetMyCommands,
SetMyDescription,
GetMyDescription,
SetMyShortDescription,
GetMyShortDescription,
SetChatMenuButton,
GetChatMenuButton,
SetMyDefaultAdministratorRights,
GetMyDefaultAdministratorRights,
EditMessageText,
EditMessageCaption,
EditMessageMedia,
EditMessageLiveLocation,
StopMessageLiveLocation,
EditMessageReplyMarkup,
StopPoll,
DeleteMessage,
}
Variants§
GetMe
LogOut
Close
SendMessage
ForwardMessage
CopyMessage
SendPhoto
SendAudio
SendDocument
SendVideo
SendAnimation
SendVoice
SendVideoNote
SendMediaGroup
SendLocation
SendVenue
SendContract
SendPoll
SendDice
SendChatAction
GetUserProfilePhotos
GetFile
BanChatMember
UnbanChatMember
RestrictChatMember
PromoteChatMember
SetChatAdministratorCustomTitle
BanChatSenderChat
UnbanChatSenderChat
SetChatPermissions
ExportChatInviteLink
CreateChatInviteLink
EditChatInviteLink
RevokeChatInviteLink
ApproveChatJoinRequest
DeclineChatJoinRequest
SetChatPhoto
DeleteChatPhoto
SetChatTitle
SetChatDescription
PinChatMessage
UnpinChatMessage
UnpinAllChatMessages
LeaveChat
GetChat
GetChatAdministrators
GetChatMemberCount
GetChatMember
SetChatStickerSet
DeleteChatStickerSet
GetForumTopicIconStickers
CreateForumTopic
EditForumTopic
CloseForumTopic
ReopenForumTopic
DeleteForumTopic
UnpinAllForumTopicMessages
EditGeneralForumTopic
CloseGeneralForumTopic
ReopenGeneralForumTopic
HideGeneralForumTopic
UnhideGeneralForumTopic
AnswerCallbackQuery
SetMyCommands
DeleteMyCommands
GetMyCommands
SetMyDescription
GetMyDescription
SetMyShortDescription
GetMyShortDescription
SetChatMenuButton
GetChatMenuButton
SetMyDefaultAdministratorRights
GetMyDefaultAdministratorRights
EditMessageText
EditMessageCaption
EditMessageMedia
EditMessageLiveLocation
StopMessageLiveLocation
EditMessageReplyMarkup
StopPoll
DeleteMessage
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more