Struct TeleApi

Source
pub struct TeleApi { /* private fields */ }

Implementations§

Source§

impl TeleApi

Source

pub fn new(token: &str) -> TeleApi

Source

pub async fn get_updates(&self) -> Result<Vec<Update>, Error>

Source

pub async fn execute( &self, method: &str, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendMessage(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendPhoto(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendAudio(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendVideo(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendDice(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendLocation(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendDocument(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendContact(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn editMessage(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn deleteWebhook(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getWebhookInfo(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ReplyKeyboardMarkup( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn KeyboardButton(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn WebAppInfo(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ReplyKeyboardRemove( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn KeyboardButtonRequestChat( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn CallbackQuery(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn SwitchInlineQueryChosenChat( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ForceReply(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ChatPhoto(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source§

impl TeleApi

Source

pub async fn ChatAdministratorRights( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ChatMember(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ChatMemberOwner( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ChatMemberAdministrator( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ChatMemberMember( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ChatMemberRestricted( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ChatMemberLeft(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ChatMemberBanned( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ChatMemberUpdated( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ChatJoinRequest( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ChatPermissions( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ForumTopic(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn BotCommand(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn BotCommandScope( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn forwardMessage(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn copyMessage(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendAnimation(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendVoice(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendVideoNote(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendMediaGroup(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendVenue(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendPoll(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendChatAction(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getUserProfilePhotos( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getFile(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn banChatMember(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn unbanChatMember( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn restrictChatMember( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn promoteChatMember( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setChatAdministratorCustomTitle( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn banChatSenderChat( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn unbanChatSenderChat( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setChatPermissions( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source§

impl TeleApi

Source§

impl TeleApi

Source§

impl TeleApi

Source§

impl TeleApi

Source

pub async fn approveChatJoinRequest( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn declineChatJoinRequest( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setChatPhoto(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn deleteChatPhoto( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setChatTitle(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setChatDescription( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn pinChatMessage(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn unpinChatMessage( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn unpinAllChatMessages( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn leaveChat(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getChat(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getChatAdministrators( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getChatMemberCount( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getChatMember(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setChatStickerSet( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn deleteChatStickerSet( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getForumTopicIconStickers( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn createForumTopic( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn editForumTopic(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn closeForumTopic( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn reopenForumTopic( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn deleteForumTopic( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn unpinAllForumTopicMessages( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn editGeneralForumTopic( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn closeGeneralForumTopic( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn reopenGeneralForumTopic( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn hideGeneralForumTopic( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn unhideGeneralForumTopic( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn unpinAllGeneralForumTopicMessages( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn answerCallbackQuery( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setMyCommands(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn deleteMyCommands( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getMyCommands(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getMyName(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setMyName(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getMyDescription( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setMyDescription( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setMyShortDescription( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getMyShortDescription( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setChatMenuButton( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getChatMenuButton( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setMyDefaultAdministratorRights( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getMyDefaultAdministratorRights( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn editMessageText( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn editMessageCaption( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn editMessageMedia( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn editMessageLiveLocation( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn stopMessageLiveLocation( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn editMessageReplyMarkup( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn stopPoll(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn deleteMessage(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn Sticker(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn StickerSet(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn MaskPosition(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InputSticker(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendSticker(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getStickerSet(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getCustomEmojiStickers( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn uploadStickerFile( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn createNewStickerSet( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn addStickerToSet( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setStickerPositionInSet( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn deleteStickerFromSet( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setStickerEmojiList( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setStickerKeywords( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setStickerMaskPosition( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setStickerSetTitle( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setStickerSetThumbnail( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setCustomEmojiStickerSetThumbnail( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn deleteStickerSet( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQuery(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn answerInlineQuery( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultsButton( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultArticle( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultPhoto( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultGif( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultMpeg4Gif( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultVideo( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultAudio( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultVoice( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultDocument( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultLocation( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultVenue( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultGame( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultContact( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultCachedPhoto( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultCachedGif( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultCachedMpeg4Gif( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultCachedSticker( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultCachedDocument( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultCachedVideo( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultCachedVoice( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InlineQueryResultCachedAudio( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InputMessageContent( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InputTextMessageContent( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InputLocationMessageContent( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InputVenueMessageContent( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InputContactMessageContent( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn InputInvoiceMessageContent( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ChosenInlineResult( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn answerWebAppQuery( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn SentWebAppMessage( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendInvoice(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source§

impl TeleApi

Source

pub async fn answerShippingQuery( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn answerPreCheckoutQuery( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn LabeledPrice(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn Invoice(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ShippingAddress( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn OrderInfo(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ShippingOption(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn SuccessfulPayment( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn PreCheckoutQuery( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn ShippingQuery(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn PassportData(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn PassportFile(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn EncryptedPassportElement( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn EncryptedCredentials( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setPassportDataErrors( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn PassportElementError( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn PassportElementErrorDataField( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn PassportElementErrorFrontSide( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn PassportElementErrorReverseSide( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn PassportElementErrorSelfie( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn PassportElementErrorFile( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn PassportElementErrorFiles( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn PassportElementErrorTranslationFile( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn PassportElementErrorTranslationFiles( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn PassportElementErrorUnspecified( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn sendGame(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn Game(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn CallbackGame(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn setGameScore(&self, params: &[(&str, &str)]) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn getGameHighScores( &self, params: &[(&str, &str)], ) -> Result<(), Error>

Source§

impl TeleApi

Source

pub async fn GameHighScore(&self, params: &[(&str, &str)]) -> Result<(), Error>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T