Enum telexide_fork::api::APIEndpoint [−][src]
pub enum APIEndpoint {
Show 78 variants
GetUpdates,
GetMe,
LogOut,
Close,
SendMessage,
SetMyCommands,
GetMyCommands,
ForwardMessage,
CopyMessage,
SendPhoto,
SendAudio,
SendDocument,
SendVideo,
SendAnimation,
SendVoice,
SendVideoNote,
SendMediaGroup,
SendLocation,
EditMessageLiveLocation,
StopMessageLiveLocation,
SendVenue,
SendContact,
SendPoll,
SendDice,
SendChatAction,
GetUserProfilePhotos,
GetFile,
KickChatMember,
UnbanChatMember,
RestrictChatMember,
PromoteChatMember,
SetChatAdministratorCustomTitle,
SetChatPermissions,
ExportChatInviteLink,
CreateChatInviteLink,
EditChatInviteLink,
RevokeChatInviteLink,
SetChatPhoto,
DeleteChatPhoto,
SetChatTitle,
SetChatDescription,
PinChatMessage,
UnpinChatMessage,
UnpinAllChatMessages,
LeaveChat,
GetChat,
GetChatAdministrators,
GetChatMembersCount,
GetChatMember,
SetChatStickerSet,
DeleteChatStickerSet,
AnswerCallbackQuery,
EditMessageText,
EditMessageCaption,
EditMessageMedia,
EditMessageReplyMarkup,
StopPoll,
DeleteMessage,
SendSticker,
GetStickerSet,
UploadStickerFile,
CreateNewStickerSet,
AddStickerToSet,
SetStickerPositionInSet,
DeleteStickerFromSet,
SetStickerSetThumb,
AnswerInlineQuery,
SendInvoice,
AnswerShippingQuery,
AnswerPreCheckoutQuery,
SendGame,
SetGameScore,
GetGameHighScores,
SetWebhook,
SetPassportDataErrors,
DeleteWebhook,
GetWebhookInfo,
Other(String),
}Expand description
This enum represents all the telegram API endpoints.
It is mostly used for letting the get and post methods in the API trait know how to form the endpoint path
Variants
GetUpdates
GetMe
LogOut
Close
SendMessage
SetMyCommands
GetMyCommands
ForwardMessage
CopyMessage
SendPhoto
SendAudio
SendDocument
SendVideo
SendAnimation
SendVoice
SendVideoNote
SendMediaGroup
SendLocation
EditMessageLiveLocation
StopMessageLiveLocation
SendVenue
SendContact
SendPoll
SendDice
SendChatAction
GetUserProfilePhotos
GetFile
KickChatMember
UnbanChatMember
RestrictChatMember
PromoteChatMember
SetChatAdministratorCustomTitle
SetChatPermissions
ExportChatInviteLink
CreateChatInviteLink
EditChatInviteLink
RevokeChatInviteLink
SetChatPhoto
DeleteChatPhoto
SetChatTitle
SetChatDescription
PinChatMessage
UnpinChatMessage
UnpinAllChatMessages
LeaveChat
GetChat
GetChatAdministrators
GetChatMembersCount
GetChatMember
SetChatStickerSet
DeleteChatStickerSet
AnswerCallbackQuery
EditMessageText
EditMessageCaption
EditMessageMedia
EditMessageReplyMarkup
StopPoll
DeleteMessage
SendSticker
GetStickerSet
UploadStickerFile
CreateNewStickerSet
AddStickerToSet
SetStickerPositionInSet
DeleteStickerFromSet
SetStickerSetThumb
AnswerInlineQuery
SendInvoice
AnswerShippingQuery
AnswerPreCheckoutQuery
SendGame
SetGameScore
GetGameHighScores
SetWebhook
SetPassportDataErrors
DeleteWebhook
GetWebhookInfo
Other(String)
Tuple Fields
0: StringImplementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for APIEndpoint
impl Send for APIEndpoint
impl Sync for APIEndpoint
impl Unpin for APIEndpoint
impl UnwindSafe for APIEndpoint
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more