Trait teloxide_core::requests::Requester [−][src]
Methods for building requests.
This trait is implemented by all bots & bot adaptors.
Examples
Calling TBA methods:
use teloxide_core::{prelude::*, types::ParseMode}; // Bot implements `Requester` let bot = Bot::new("TOKEN"); // Required parameters are supplied to the `Requester` methods: bot.send_message(0, "<b>Text</b>") // Optional parameters can be supplied by calling setters .parse_mode(ParseMode::Html) // To send request to telegram you need to call `.send()` and await the resulting future .send() .await?;
Using Requester
in a generic context:
use teloxide_core::{prelude::*, types::Message}; async fn send_hi<R>(bot: R, chat: i64) -> Message where R: Requester, { bot.send_message(chat, "hi").send().await.expect("error") }
Associated Types
type Err: Error + Send
[src]
Error type returned by all requests.
type GetUpdates: Request<Payload = GetUpdates, Err = Self::Err>
[src]
type SetWebhook: Request<Payload = SetWebhook, Err = Self::Err>
[src]
type DeleteWebhook: Request<Payload = DeleteWebhook, Err = Self::Err>
[src]
type GetWebhookInfo: Request<Payload = GetWebhookInfo, Err = Self::Err>
[src]
type GetMe: Request<Payload = GetMe, Err = Self::Err>
[src]
type LogOut: Request<Payload = LogOut, Err = Self::Err>
[src]
type Close: Request<Payload = Close, Err = Self::Err>
[src]
type SendMessage: Request<Payload = SendMessage, Err = Self::Err>
[src]
type ForwardMessage: Request<Payload = ForwardMessage, Err = Self::Err>
[src]
type CopyMessage: Request<Payload = CopyMessage, Err = Self::Err>
[src]
type SendPhoto: Request<Payload = SendPhoto, Err = Self::Err>
[src]
type SendAudio: Request<Payload = SendAudio, Err = Self::Err>
[src]
type SendDocument: Request<Payload = SendDocument, Err = Self::Err>
[src]
type SendVideo: Request<Payload = SendVideo, Err = Self::Err>
[src]
type SendAnimation: Request<Payload = SendAnimation, Err = Self::Err>
[src]
type SendVoice: Request<Payload = SendVoice, Err = Self::Err>
[src]
type SendVideoNote: Request<Payload = SendVideoNote, Err = Self::Err>
[src]
type SendMediaGroup: Request<Payload = SendMediaGroup, Err = Self::Err>
[src]
type SendLocation: Request<Payload = SendLocation, Err = Self::Err>
[src]
type EditMessageLiveLocation: Request<Payload = EditMessageLiveLocation, Err = Self::Err>
[src]
type EditMessageLiveLocationInline: Request<Payload = EditMessageLiveLocationInline, Err = Self::Err>
[src]
type StopMessageLiveLocation: Request<Payload = StopMessageLiveLocation, Err = Self::Err>
[src]
type StopMessageLiveLocationInline: Request<Payload = StopMessageLiveLocationInline, Err = Self::Err>
[src]
type SendVenue: Request<Payload = SendVenue, Err = Self::Err>
[src]
type SendContact: Request<Payload = SendContact, Err = Self::Err>
[src]
type SendPoll: Request<Payload = SendPoll, Err = Self::Err>
[src]
type SendDice: Request<Payload = SendDice, Err = Self::Err>
[src]
type SendChatAction: Request<Payload = SendChatAction, Err = Self::Err>
[src]
type GetUserProfilePhotos: Request<Payload = GetUserProfilePhotos, Err = Self::Err>
[src]
type GetFile: Request<Payload = GetFile, Err = Self::Err>
[src]
type KickChatMember: Request<Payload = KickChatMember, Err = Self::Err>
[src]
type UnbanChatMember: Request<Payload = UnbanChatMember, Err = Self::Err>
[src]
type RestrictChatMember: Request<Payload = RestrictChatMember, Err = Self::Err>
[src]
type PromoteChatMember: Request<Payload = PromoteChatMember, Err = Self::Err>
[src]
type SetChatAdministratorCustomTitle: Request<Payload = SetChatAdministratorCustomTitle, Err = Self::Err>
[src]
type SetChatPermissions: Request<Payload = SetChatPermissions, Err = Self::Err>
[src]
type ExportChatInviteLink: Request<Payload = ExportChatInviteLink, Err = Self::Err>
[src]
type CreateChatInviteLink: Request<Payload = CreateChatInviteLink, Err = Self::Err>
[src]
type EditChatInviteLink: Request<Payload = EditChatInviteLink, Err = Self::Err>
[src]
type RevokeChatInviteLink: Request<Payload = RevokeChatInviteLink, Err = Self::Err>
[src]
type SetChatPhoto: Request<Payload = SetChatPhoto, Err = Self::Err>
[src]
type DeleteChatPhoto: Request<Payload = DeleteChatPhoto, Err = Self::Err>
[src]
type SetChatTitle: Request<Payload = SetChatTitle, Err = Self::Err>
[src]
type SetChatDescription: Request<Payload = SetChatDescription, Err = Self::Err>
[src]
type PinChatMessage: Request<Payload = PinChatMessage, Err = Self::Err>
[src]
type UnpinChatMessage: Request<Payload = UnpinChatMessage, Err = Self::Err>
[src]
type UnpinAllChatMessages: Request<Payload = UnpinAllChatMessages, Err = Self::Err>
[src]
type LeaveChat: Request<Payload = LeaveChat, Err = Self::Err>
[src]
type GetChat: Request<Payload = GetChat, Err = Self::Err>
[src]
type GetChatAdministrators: Request<Payload = GetChatAdministrators, Err = Self::Err>
[src]
type GetChatMembersCount: Request<Payload = GetChatMembersCount, Err = Self::Err>
[src]
type GetChatMember: Request<Payload = GetChatMember, Err = Self::Err>
[src]
type SetChatStickerSet: Request<Payload = SetChatStickerSet, Err = Self::Err>
[src]
type DeleteChatStickerSet: Request<Payload = DeleteChatStickerSet, Err = Self::Err>
[src]
type AnswerCallbackQuery: Request<Payload = AnswerCallbackQuery, Err = Self::Err>
[src]
type SetMyCommands: Request<Payload = SetMyCommands, Err = Self::Err>
[src]
type GetMyCommands: Request<Payload = GetMyCommands, Err = Self::Err>
[src]
type AnswerInlineQuery: Request<Payload = AnswerInlineQuery, Err = Self::Err>
[src]
type EditMessageText: Request<Payload = EditMessageText, Err = Self::Err>
[src]
type EditMessageTextInline: Request<Payload = EditMessageTextInline, Err = Self::Err>
[src]
type EditMessageCaption: Request<Payload = EditMessageCaption, Err = Self::Err>
[src]
type EditMessageCaptionInline: Request<Payload = EditMessageCaptionInline, Err = Self::Err>
[src]
type EditMessageMedia: Request<Payload = EditMessageMedia, Err = Self::Err>
[src]
type EditMessageMediaInline: Request<Payload = EditMessageMediaInline, Err = Self::Err>
[src]
type EditMessageReplyMarkup: Request<Payload = EditMessageReplyMarkup, Err = Self::Err>
[src]
type EditMessageReplyMarkupInline: Request<Payload = EditMessageReplyMarkupInline, Err = Self::Err>
[src]
type StopPoll: Request<Payload = StopPoll, Err = Self::Err>
[src]
type DeleteMessage: Request<Payload = DeleteMessage, Err = Self::Err>
[src]
type SendSticker: Request<Payload = SendSticker, Err = Self::Err>
[src]
type GetStickerSet: Request<Payload = GetStickerSet, Err = Self::Err>
[src]
type UploadStickerFile: Request<Payload = UploadStickerFile, Err = Self::Err>
[src]
type CreateNewStickerSet: Request<Payload = CreateNewStickerSet, Err = Self::Err>
[src]
type AddStickerToSet: Request<Payload = AddStickerToSet, Err = Self::Err>
[src]
type SetStickerPositionInSet: Request<Payload = SetStickerPositionInSet, Err = Self::Err>
[src]
type DeleteStickerFromSet: Request<Payload = DeleteStickerFromSet, Err = Self::Err>
[src]
type SetStickerSetThumb: Request<Payload = SetStickerSetThumb, Err = Self::Err>
[src]
type SendInvoice: Request<Payload = SendInvoice, Err = Self::Err>
[src]
type AnswerShippingQuery: Request<Payload = AnswerShippingQuery, Err = Self::Err>
[src]
type AnswerPreCheckoutQuery: Request<Payload = AnswerPreCheckoutQuery, Err = Self::Err>
[src]
type SetPassportDataErrors: Request<Payload = SetPassportDataErrors, Err = Self::Err>
[src]
type SendGame: Request<Payload = SendGame, Err = Self::Err>
[src]
type SetGameScore: Request<Payload = SetGameScore, Err = Self::Err>
[src]
type SetGameScoreInline: Request<Payload = SetGameScoreInline, Err = Self::Err>
[src]
type GetGameHighScores: Request<Payload = GetGameHighScores, Err = Self::Err>
[src]
type GetUpdatesFaultTolerant: Request<Payload = GetUpdatesFaultTolerant, Err = Self::Err>
[src]
Required methods
fn get_updates(&self) -> Self::GetUpdates
[src]
For Telegram documentation see GetUpdates
.
fn set_webhook<U>(&self, url: U) -> Self::SetWebhook where
U: Into<String>,
[src]
U: Into<String>,
For Telegram documentation see SetWebhook
.
fn delete_webhook(&self) -> Self::DeleteWebhook
[src]
For Telegram documentation see DeleteWebhook
.
fn get_webhook_info(&self) -> Self::GetWebhookInfo
[src]
For Telegram documentation see GetWebhookInfo
.
fn get_me(&self) -> Self::GetMe
[src]
For Telegram documentation see GetMe
.
fn log_out(&self) -> Self::LogOut
[src]
For Telegram documentation see LogOut
.
fn close(&self) -> Self::Close
[src]
For Telegram documentation see Close
.
fn send_message<C, T>(&self, chat_id: C, text: T) -> Self::SendMessage where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
For Telegram documentation see SendMessage
.
fn forward_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
For Telegram documentation see ForwardMessage
.
fn copy_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
For Telegram documentation see CopyMessage
.
fn send_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SendPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see SendPhoto
.
fn send_audio<C>(&self, chat_id: C, audio: InputFile) -> Self::SendAudio where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see SendAudio
.
fn send_document<C>(
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
For Telegram documentation see SendDocument
.
fn send_video<C>(&self, chat_id: C, video: InputFile) -> Self::SendVideo where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see SendVideo
.
fn send_animation<C>(
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
For Telegram documentation see SendAnimation
.
fn send_voice<C>(&self, chat_id: C, voice: InputFile) -> Self::SendVoice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see SendVoice
.
fn send_video_note<C>(
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
For Telegram documentation see SendVideoNote
.
fn send_media_group<C, M>(&self, chat_id: C, media: M) -> Self::SendMediaGroup where
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
[src]
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
For Telegram documentation see SendMediaGroup
.
fn send_location<C>(
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
For Telegram documentation see SendLocation
.
fn edit_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
For Telegram documentation see EditMessageLiveLocation
.
fn edit_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
For Telegram documentation see EditMessageLiveLocationInline
.
fn stop_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
For Telegram documentation see StopMessageLiveLocation
.
fn stop_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
For Telegram documentation see StopMessageLiveLocationInline
.
fn send_venue<C, T, A>(
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
For Telegram documentation see SendVenue
.
fn send_contact<C, P, F>(
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
[src]
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
For Telegram documentation see SendContact
.
fn send_poll<C, Q, O>(
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
[src]
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
For Telegram documentation see SendPoll
.
fn send_dice<C>(&self, chat_id: C) -> Self::SendDice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see SendDice
.
fn send_chat_action<C>(
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
For Telegram documentation see SendChatAction
.
fn get_user_profile_photos(&self, user_id: i64) -> Self::GetUserProfilePhotos
[src]
For Telegram documentation see GetUserProfilePhotos
.
fn get_file<F>(&self, file_id: F) -> Self::GetFile where
F: Into<String>,
[src]
F: Into<String>,
For Telegram documentation see GetFile
.
fn kick_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::KickChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see KickChatMember
.
fn unban_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
For Telegram documentation see UnbanChatMember
.
fn restrict_chat_member<C>(
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
For Telegram documentation see RestrictChatMember
.
fn promote_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
For Telegram documentation see PromoteChatMember
.
fn set_chat_administrator_custom_title<Ch, Cu>(
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
[src]
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
For Telegram documentation see SetChatAdministratorCustomTitle
.
fn set_chat_permissions<C>(
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
For Telegram documentation see SetChatPermissions
.
fn export_chat_invite_link<C>(&self, chat_id: C) -> Self::ExportChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see ExportChatInviteLink
.
fn create_chat_invite_link<C>(&self, chat_id: C) -> Self::CreateChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see CreateChatInviteLink
.
fn edit_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
For Telegram documentation see EditChatInviteLink
.
fn revoke_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
For Telegram documentation see RevokeChatInviteLink
.
fn set_chat_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SetChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see SetChatPhoto
.
fn delete_chat_photo<C>(&self, chat_id: C) -> Self::DeleteChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see DeleteChatPhoto
.
fn set_chat_title<C, T>(&self, chat_id: C, title: T) -> Self::SetChatTitle where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
For Telegram documentation see SetChatTitle
.
fn set_chat_description<C>(&self, chat_id: C) -> Self::SetChatDescription where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see SetChatDescription
.
fn pin_chat_message<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
For Telegram documentation see PinChatMessage
.
fn unpin_chat_message<C>(&self, chat_id: C) -> Self::UnpinChatMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see UnpinChatMessage
.
fn unpin_all_chat_messages<C>(&self, chat_id: C) -> Self::UnpinAllChatMessages where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see UnpinAllChatMessages
.
fn leave_chat<C>(&self, chat_id: C) -> Self::LeaveChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see LeaveChat
.
fn get_chat<C>(&self, chat_id: C) -> Self::GetChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see GetChat
.
fn get_chat_administrators<C>(&self, chat_id: C) -> Self::GetChatAdministrators where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see GetChatAdministrators
.
fn get_chat_members_count<C>(&self, chat_id: C) -> Self::GetChatMembersCount where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see GetChatMembersCount
.
fn get_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::GetChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see GetChatMember
.
fn set_chat_sticker_set<C, S>(
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
[src]
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
For Telegram documentation see SetChatStickerSet
.
fn delete_chat_sticker_set<C>(&self, chat_id: C) -> Self::DeleteChatStickerSet where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see DeleteChatStickerSet
.
fn answer_callback_query<C>(
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
[src]
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
For Telegram documentation see AnswerCallbackQuery
.
fn set_my_commands<C>(&self, commands: C) -> Self::SetMyCommands where
C: IntoIterator<Item = BotCommand>,
[src]
C: IntoIterator<Item = BotCommand>,
For Telegram documentation see SetMyCommands
.
fn get_my_commands(&self) -> Self::GetMyCommands
[src]
For Telegram documentation see GetMyCommands
.
fn answer_inline_query<I, R>(
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
[src]
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
For Telegram documentation see AnswerInlineQuery
.
fn edit_message_text<C, T>(
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
[src]
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
For Telegram documentation see EditMessageText
.
fn edit_message_text_inline<I, T>(
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
[src]
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
For Telegram documentation see EditMessageTextInline
.
fn edit_message_caption<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
For Telegram documentation see EditMessageCaption
.
fn edit_message_caption_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
For Telegram documentation see EditMessageCaptionInline
.
fn edit_message_media<C>(
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
For Telegram documentation see EditMessageMedia
.
fn edit_message_media_inline<I>(
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
For Telegram documentation see EditMessageMediaInline
.
fn edit_message_reply_markup<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
For Telegram documentation see EditMessageReplyMarkup
.
fn edit_message_reply_markup_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
For Telegram documentation see EditMessageReplyMarkupInline
.
fn stop_poll<C>(&self, chat_id: C, message_id: i32) -> Self::StopPoll where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see StopPoll
.
fn delete_message<C>(&self, chat_id: C, message_id: i32) -> Self::DeleteMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see DeleteMessage
.
fn send_sticker<C>(&self, chat_id: C, sticker: InputFile) -> Self::SendSticker where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
For Telegram documentation see SendSticker
.
fn get_sticker_set<N>(&self, name: N) -> Self::GetStickerSet where
N: Into<String>,
[src]
N: Into<String>,
For Telegram documentation see GetStickerSet
.
fn upload_sticker_file(
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
[src]
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
For Telegram documentation see UploadStickerFile
.
fn create_new_sticker_set<N, T, E>(
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
For Telegram documentation see CreateNewStickerSet
.
fn add_sticker_to_set<N, E>(
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
For Telegram documentation see AddStickerToSet
.
fn set_sticker_position_in_set<S>(
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
[src]
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
For Telegram documentation see SetStickerPositionInSet
.
fn delete_sticker_from_set<S>(&self, sticker: S) -> Self::DeleteStickerFromSet where
S: Into<String>,
[src]
S: Into<String>,
For Telegram documentation see DeleteStickerFromSet
.
fn set_sticker_set_thumb<N>(
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
[src]
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
For Telegram documentation see SetStickerSetThumb
.
fn send_invoice<T, D, Pa, P, S, C, Pri>(
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
[src]
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
For Telegram documentation see SendInvoice
.
fn answer_shipping_query<S>(
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
[src]
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
For Telegram documentation see AnswerShippingQuery
.
fn answer_pre_checkout_query<P>(
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
[src]
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
For Telegram documentation see AnswerPreCheckoutQuery
.
fn set_passport_data_errors<E>(
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
[src]
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
For Telegram documentation see SetPassportDataErrors
.
fn send_game<G>(&self, chat_id: u32, game_short_name: G) -> Self::SendGame where
G: Into<String>,
[src]
G: Into<String>,
For Telegram documentation see SendGame
.
fn set_game_score(
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
[src]
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
For Telegram documentation see SetGameScore
.
fn set_game_score_inline<I>(
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
[src]
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
For Telegram documentation see SetGameScoreInline
.
fn get_game_high_scores<T>(
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
[src]
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
For Telegram documentation see GetGameHighScores
.
fn get_updates_fault_tolerant(&self) -> Self::GetUpdatesFaultTolerant
[src]
For Telegram documentation see GetUpdatesFaultTolerant
.
Implementations on Foreign Types
impl<B> Requester for &B where
B: Requester,
[src]
B: Requester,
type Err = B::Err
type GetMe = B::GetMe
fn get_me(&self) -> Self::GetMe
[src]
type LogOut = B::LogOut
fn log_out(&self) -> Self::LogOut
[src]
type Close = B::Close
fn close(&self) -> Self::Close
[src]
type GetUpdates = B::GetUpdates
fn get_updates(&self) -> Self::GetUpdates
[src]
type SetWebhook = B::SetWebhook
fn set_webhook<U>(&self, url: U) -> Self::SetWebhook where
U: Into<String>,
[src]
U: Into<String>,
type DeleteWebhook = B::DeleteWebhook
fn delete_webhook(&self) -> Self::DeleteWebhook
[src]
type GetWebhookInfo = B::GetWebhookInfo
fn get_webhook_info(&self) -> Self::GetWebhookInfo
[src]
type ForwardMessage = B::ForwardMessage
fn forward_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type CopyMessage = B::CopyMessage
fn copy_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type SendMessage = B::SendMessage
fn send_message<C, T>(&self, chat_id: C, text: T) -> Self::SendMessage where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type SendPhoto = B::SendPhoto
fn send_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SendPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendAudio = B::SendAudio
fn send_audio<C>(&self, chat_id: C, audio: InputFile) -> Self::SendAudio where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendDocument = B::SendDocument
fn send_document<C>(
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
type SendVideo = B::SendVideo
fn send_video<C>(&self, chat_id: C, video: InputFile) -> Self::SendVideo where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendAnimation = B::SendAnimation
fn send_animation<C>(
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
type SendVoice = B::SendVoice
fn send_voice<C>(&self, chat_id: C, voice: InputFile) -> Self::SendVoice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendVideoNote = B::SendVideoNote
fn send_video_note<C>(
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
type SendMediaGroup = B::SendMediaGroup
fn send_media_group<C, M>(&self, chat_id: C, media: M) -> Self::SendMediaGroup where
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
[src]
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
type SendLocation = B::SendLocation
fn send_location<C>(
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
type EditMessageLiveLocation = B::EditMessageLiveLocation
fn edit_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
type EditMessageLiveLocationInline = B::EditMessageLiveLocationInline
fn edit_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
type StopMessageLiveLocation = B::StopMessageLiveLocation
fn stop_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
type StopMessageLiveLocationInline = B::StopMessageLiveLocationInline
fn stop_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
type SendVenue = B::SendVenue
fn send_venue<C, T, A>(
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
type SendContact = B::SendContact
fn send_contact<C, P, F>(
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
[src]
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
type SendPoll = B::SendPoll
fn send_poll<C, Q, O>(
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
[src]
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
type SendDice = B::SendDice
fn send_dice<C>(&self, chat_id: C) -> Self::SendDice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendChatAction = B::SendChatAction
fn send_chat_action<C>(
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
type GetUserProfilePhotos = B::GetUserProfilePhotos
fn get_user_profile_photos(&self, user_id: i64) -> Self::GetUserProfilePhotos
[src]
type GetFile = B::GetFile
fn get_file<F>(&self, file_id: F) -> Self::GetFile where
F: Into<String>,
[src]
F: Into<String>,
type KickChatMember = B::KickChatMember
fn kick_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::KickChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type UnbanChatMember = B::UnbanChatMember
fn unban_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
type RestrictChatMember = B::RestrictChatMember
fn restrict_chat_member<C>(
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
type PromoteChatMember = B::PromoteChatMember
fn promote_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
type SetChatAdministratorCustomTitle = B::SetChatAdministratorCustomTitle
fn set_chat_administrator_custom_title<Ch, Cu>(
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
[src]
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
type SetChatPermissions = B::SetChatPermissions
fn set_chat_permissions<C>(
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
type ExportChatInviteLink = B::ExportChatInviteLink
fn export_chat_invite_link<C>(&self, chat_id: C) -> Self::ExportChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type CreateChatInviteLink = B::CreateChatInviteLink
fn create_chat_invite_link<C>(&self, chat_id: C) -> Self::CreateChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type EditChatInviteLink = B::EditChatInviteLink
fn edit_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type RevokeChatInviteLink = B::RevokeChatInviteLink
fn revoke_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type SetChatPhoto = B::SetChatPhoto
fn set_chat_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SetChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteChatPhoto = B::DeleteChatPhoto
fn delete_chat_photo<C>(&self, chat_id: C) -> Self::DeleteChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatTitle = B::SetChatTitle
fn set_chat_title<C, T>(&self, chat_id: C, title: T) -> Self::SetChatTitle where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type SetChatDescription = B::SetChatDescription
fn set_chat_description<C>(&self, chat_id: C) -> Self::SetChatDescription where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type PinChatMessage = B::PinChatMessage
fn pin_chat_message<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
type UnpinChatMessage = B::UnpinChatMessage
fn unpin_chat_message<C>(&self, chat_id: C) -> Self::UnpinChatMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type UnpinAllChatMessages = B::UnpinAllChatMessages
fn unpin_all_chat_messages<C>(&self, chat_id: C) -> Self::UnpinAllChatMessages where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type LeaveChat = B::LeaveChat
fn leave_chat<C>(&self, chat_id: C) -> Self::LeaveChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChat = B::GetChat
fn get_chat<C>(&self, chat_id: C) -> Self::GetChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatAdministrators = B::GetChatAdministrators
fn get_chat_administrators<C>(&self, chat_id: C) -> Self::GetChatAdministrators where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMembersCount = B::GetChatMembersCount
fn get_chat_members_count<C>(&self, chat_id: C) -> Self::GetChatMembersCount where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMember = B::GetChatMember
fn get_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::GetChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatStickerSet = B::SetChatStickerSet
fn set_chat_sticker_set<C, S>(
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
[src]
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
type DeleteChatStickerSet = B::DeleteChatStickerSet
fn delete_chat_sticker_set<C>(&self, chat_id: C) -> Self::DeleteChatStickerSet where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type AnswerCallbackQuery = B::AnswerCallbackQuery
fn answer_callback_query<C>(
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
[src]
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
type SetMyCommands = B::SetMyCommands
fn set_my_commands<C>(&self, commands: C) -> Self::SetMyCommands where
C: IntoIterator<Item = BotCommand>,
[src]
C: IntoIterator<Item = BotCommand>,
type GetMyCommands = B::GetMyCommands
fn get_my_commands(&self) -> Self::GetMyCommands
[src]
type AnswerInlineQuery = B::AnswerInlineQuery
fn answer_inline_query<I, R>(
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
[src]
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
type EditMessageText = B::EditMessageText
fn edit_message_text<C, T>(
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
[src]
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
type EditMessageTextInline = B::EditMessageTextInline
fn edit_message_text_inline<I, T>(
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
[src]
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
type EditMessageCaption = B::EditMessageCaption
fn edit_message_caption<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
type EditMessageCaptionInline = B::EditMessageCaptionInline
fn edit_message_caption_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
type EditMessageMedia = B::EditMessageMedia
fn edit_message_media<C>(
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
type EditMessageMediaInline = B::EditMessageMediaInline
fn edit_message_media_inline<I>(
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
type EditMessageReplyMarkup = B::EditMessageReplyMarkup
fn edit_message_reply_markup<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
type EditMessageReplyMarkupInline = B::EditMessageReplyMarkupInline
fn edit_message_reply_markup_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
type StopPoll = B::StopPoll
fn stop_poll<C>(&self, chat_id: C, message_id: i32) -> Self::StopPoll where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteMessage = B::DeleteMessage
fn delete_message<C>(&self, chat_id: C, message_id: i32) -> Self::DeleteMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendSticker = B::SendSticker
fn send_sticker<C>(&self, chat_id: C, sticker: InputFile) -> Self::SendSticker where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetStickerSet = B::GetStickerSet
fn get_sticker_set<N>(&self, name: N) -> Self::GetStickerSet where
N: Into<String>,
[src]
N: Into<String>,
type UploadStickerFile = B::UploadStickerFile
fn upload_sticker_file(
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
[src]
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
type CreateNewStickerSet = B::CreateNewStickerSet
fn create_new_sticker_set<N, T, E>(
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
type AddStickerToSet = B::AddStickerToSet
fn add_sticker_to_set<N, E>(
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
type SetStickerPositionInSet = B::SetStickerPositionInSet
fn set_sticker_position_in_set<S>(
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
[src]
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
type DeleteStickerFromSet = B::DeleteStickerFromSet
fn delete_sticker_from_set<S>(&self, sticker: S) -> Self::DeleteStickerFromSet where
S: Into<String>,
[src]
S: Into<String>,
type SetStickerSetThumb = B::SetStickerSetThumb
fn set_sticker_set_thumb<N>(
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
[src]
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
type SendInvoice = B::SendInvoice
fn send_invoice<T, D, Pa, P, S, C, Pri>(
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
[src]
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
type AnswerShippingQuery = B::AnswerShippingQuery
fn answer_shipping_query<S>(
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
[src]
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
type AnswerPreCheckoutQuery = B::AnswerPreCheckoutQuery
fn answer_pre_checkout_query<P>(
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
[src]
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
type SetPassportDataErrors = B::SetPassportDataErrors
fn set_passport_data_errors<E>(
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
[src]
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
type SendGame = B::SendGame
fn send_game<G>(&self, chat_id: u32, game_short_name: G) -> Self::SendGame where
G: Into<String>,
[src]
G: Into<String>,
type SetGameScore = B::SetGameScore
fn set_game_score(
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
[src]
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
type SetGameScoreInline = B::SetGameScoreInline
fn set_game_score_inline<I>(
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
[src]
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
type GetGameHighScores = B::GetGameHighScores
fn get_game_high_scores<T>(
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
[src]
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
type GetUpdatesFaultTolerant = B::GetUpdatesFaultTolerant
fn get_updates_fault_tolerant(&self) -> Self::GetUpdatesFaultTolerant
[src]
impl<B> Requester for &mut B where
B: Requester,
[src]
B: Requester,
type Err = B::Err
type GetMe = B::GetMe
fn get_me(&self) -> Self::GetMe
[src]
type LogOut = B::LogOut
fn log_out(&self) -> Self::LogOut
[src]
type Close = B::Close
fn close(&self) -> Self::Close
[src]
type GetUpdates = B::GetUpdates
fn get_updates(&self) -> Self::GetUpdates
[src]
type SetWebhook = B::SetWebhook
fn set_webhook<U>(&self, url: U) -> Self::SetWebhook where
U: Into<String>,
[src]
U: Into<String>,
type DeleteWebhook = B::DeleteWebhook
fn delete_webhook(&self) -> Self::DeleteWebhook
[src]
type GetWebhookInfo = B::GetWebhookInfo
fn get_webhook_info(&self) -> Self::GetWebhookInfo
[src]
type ForwardMessage = B::ForwardMessage
fn forward_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type CopyMessage = B::CopyMessage
fn copy_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type SendMessage = B::SendMessage
fn send_message<C, T>(&self, chat_id: C, text: T) -> Self::SendMessage where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type SendPhoto = B::SendPhoto
fn send_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SendPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendAudio = B::SendAudio
fn send_audio<C>(&self, chat_id: C, audio: InputFile) -> Self::SendAudio where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendDocument = B::SendDocument
fn send_document<C>(
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
type SendVideo = B::SendVideo
fn send_video<C>(&self, chat_id: C, video: InputFile) -> Self::SendVideo where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendAnimation = B::SendAnimation
fn send_animation<C>(
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
type SendVoice = B::SendVoice
fn send_voice<C>(&self, chat_id: C, voice: InputFile) -> Self::SendVoice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendVideoNote = B::SendVideoNote
fn send_video_note<C>(
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
type SendMediaGroup = B::SendMediaGroup
fn send_media_group<C, M>(&self, chat_id: C, media: M) -> Self::SendMediaGroup where
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
[src]
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
type SendLocation = B::SendLocation
fn send_location<C>(
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
type EditMessageLiveLocation = B::EditMessageLiveLocation
fn edit_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
type EditMessageLiveLocationInline = B::EditMessageLiveLocationInline
fn edit_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
type StopMessageLiveLocation = B::StopMessageLiveLocation
fn stop_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
type StopMessageLiveLocationInline = B::StopMessageLiveLocationInline
fn stop_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
type SendVenue = B::SendVenue
fn send_venue<C, T, A>(
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
type SendContact = B::SendContact
fn send_contact<C, P, F>(
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
[src]
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
type SendPoll = B::SendPoll
fn send_poll<C, Q, O>(
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
[src]
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
type SendDice = B::SendDice
fn send_dice<C>(&self, chat_id: C) -> Self::SendDice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendChatAction = B::SendChatAction
fn send_chat_action<C>(
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
type GetUserProfilePhotos = B::GetUserProfilePhotos
fn get_user_profile_photos(&self, user_id: i64) -> Self::GetUserProfilePhotos
[src]
type GetFile = B::GetFile
fn get_file<F>(&self, file_id: F) -> Self::GetFile where
F: Into<String>,
[src]
F: Into<String>,
type KickChatMember = B::KickChatMember
fn kick_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::KickChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type UnbanChatMember = B::UnbanChatMember
fn unban_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
type RestrictChatMember = B::RestrictChatMember
fn restrict_chat_member<C>(
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
type PromoteChatMember = B::PromoteChatMember
fn promote_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
type SetChatAdministratorCustomTitle = B::SetChatAdministratorCustomTitle
fn set_chat_administrator_custom_title<Ch, Cu>(
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
[src]
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
type SetChatPermissions = B::SetChatPermissions
fn set_chat_permissions<C>(
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
type ExportChatInviteLink = B::ExportChatInviteLink
fn export_chat_invite_link<C>(&self, chat_id: C) -> Self::ExportChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type CreateChatInviteLink = B::CreateChatInviteLink
fn create_chat_invite_link<C>(&self, chat_id: C) -> Self::CreateChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type EditChatInviteLink = B::EditChatInviteLink
fn edit_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type RevokeChatInviteLink = B::RevokeChatInviteLink
fn revoke_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type SetChatPhoto = B::SetChatPhoto
fn set_chat_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SetChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteChatPhoto = B::DeleteChatPhoto
fn delete_chat_photo<C>(&self, chat_id: C) -> Self::DeleteChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatTitle = B::SetChatTitle
fn set_chat_title<C, T>(&self, chat_id: C, title: T) -> Self::SetChatTitle where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type SetChatDescription = B::SetChatDescription
fn set_chat_description<C>(&self, chat_id: C) -> Self::SetChatDescription where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type PinChatMessage = B::PinChatMessage
fn pin_chat_message<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
type UnpinChatMessage = B::UnpinChatMessage
fn unpin_chat_message<C>(&self, chat_id: C) -> Self::UnpinChatMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type UnpinAllChatMessages = B::UnpinAllChatMessages
fn unpin_all_chat_messages<C>(&self, chat_id: C) -> Self::UnpinAllChatMessages where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type LeaveChat = B::LeaveChat
fn leave_chat<C>(&self, chat_id: C) -> Self::LeaveChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChat = B::GetChat
fn get_chat<C>(&self, chat_id: C) -> Self::GetChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatAdministrators = B::GetChatAdministrators
fn get_chat_administrators<C>(&self, chat_id: C) -> Self::GetChatAdministrators where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMembersCount = B::GetChatMembersCount
fn get_chat_members_count<C>(&self, chat_id: C) -> Self::GetChatMembersCount where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMember = B::GetChatMember
fn get_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::GetChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatStickerSet = B::SetChatStickerSet
fn set_chat_sticker_set<C, S>(
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
[src]
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
type DeleteChatStickerSet = B::DeleteChatStickerSet
fn delete_chat_sticker_set<C>(&self, chat_id: C) -> Self::DeleteChatStickerSet where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type AnswerCallbackQuery = B::AnswerCallbackQuery
fn answer_callback_query<C>(
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
[src]
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
type SetMyCommands = B::SetMyCommands
fn set_my_commands<C>(&self, commands: C) -> Self::SetMyCommands where
C: IntoIterator<Item = BotCommand>,
[src]
C: IntoIterator<Item = BotCommand>,
type GetMyCommands = B::GetMyCommands
fn get_my_commands(&self) -> Self::GetMyCommands
[src]
type AnswerInlineQuery = B::AnswerInlineQuery
fn answer_inline_query<I, R>(
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
[src]
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
type EditMessageText = B::EditMessageText
fn edit_message_text<C, T>(
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
[src]
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
type EditMessageTextInline = B::EditMessageTextInline
fn edit_message_text_inline<I, T>(
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
[src]
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
type EditMessageCaption = B::EditMessageCaption
fn edit_message_caption<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
type EditMessageCaptionInline = B::EditMessageCaptionInline
fn edit_message_caption_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
type EditMessageMedia = B::EditMessageMedia
fn edit_message_media<C>(
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
type EditMessageMediaInline = B::EditMessageMediaInline
fn edit_message_media_inline<I>(
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
type EditMessageReplyMarkup = B::EditMessageReplyMarkup
fn edit_message_reply_markup<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
type EditMessageReplyMarkupInline = B::EditMessageReplyMarkupInline
fn edit_message_reply_markup_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
type StopPoll = B::StopPoll
fn stop_poll<C>(&self, chat_id: C, message_id: i32) -> Self::StopPoll where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteMessage = B::DeleteMessage
fn delete_message<C>(&self, chat_id: C, message_id: i32) -> Self::DeleteMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendSticker = B::SendSticker
fn send_sticker<C>(&self, chat_id: C, sticker: InputFile) -> Self::SendSticker where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetStickerSet = B::GetStickerSet
fn get_sticker_set<N>(&self, name: N) -> Self::GetStickerSet where
N: Into<String>,
[src]
N: Into<String>,
type UploadStickerFile = B::UploadStickerFile
fn upload_sticker_file(
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
[src]
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
type CreateNewStickerSet = B::CreateNewStickerSet
fn create_new_sticker_set<N, T, E>(
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
type AddStickerToSet = B::AddStickerToSet
fn add_sticker_to_set<N, E>(
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
type SetStickerPositionInSet = B::SetStickerPositionInSet
fn set_sticker_position_in_set<S>(
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
[src]
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
type DeleteStickerFromSet = B::DeleteStickerFromSet
fn delete_sticker_from_set<S>(&self, sticker: S) -> Self::DeleteStickerFromSet where
S: Into<String>,
[src]
S: Into<String>,
type SetStickerSetThumb = B::SetStickerSetThumb
fn set_sticker_set_thumb<N>(
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
[src]
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
type SendInvoice = B::SendInvoice
fn send_invoice<T, D, Pa, P, S, C, Pri>(
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
[src]
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
type AnswerShippingQuery = B::AnswerShippingQuery
fn answer_shipping_query<S>(
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
[src]
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
type AnswerPreCheckoutQuery = B::AnswerPreCheckoutQuery
fn answer_pre_checkout_query<P>(
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
[src]
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
type SetPassportDataErrors = B::SetPassportDataErrors
fn set_passport_data_errors<E>(
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
[src]
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
type SendGame = B::SendGame
fn send_game<G>(&self, chat_id: u32, game_short_name: G) -> Self::SendGame where
G: Into<String>,
[src]
G: Into<String>,
type SetGameScore = B::SetGameScore
fn set_game_score(
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
[src]
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
type SetGameScoreInline = B::SetGameScoreInline
fn set_game_score_inline<I>(
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
[src]
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
type GetGameHighScores = B::GetGameHighScores
fn get_game_high_scores<T>(
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
[src]
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
type GetUpdatesFaultTolerant = B::GetUpdatesFaultTolerant
fn get_updates_fault_tolerant(&self) -> Self::GetUpdatesFaultTolerant
[src]
impl<B> Requester for Box<B> where
B: Requester,
[src]
B: Requester,
type Err = B::Err
type GetMe = B::GetMe
fn get_me(&self) -> Self::GetMe
[src]
type LogOut = B::LogOut
fn log_out(&self) -> Self::LogOut
[src]
type Close = B::Close
fn close(&self) -> Self::Close
[src]
type GetUpdates = B::GetUpdates
fn get_updates(&self) -> Self::GetUpdates
[src]
type SetWebhook = B::SetWebhook
fn set_webhook<U>(&self, url: U) -> Self::SetWebhook where
U: Into<String>,
[src]
U: Into<String>,
type DeleteWebhook = B::DeleteWebhook
fn delete_webhook(&self) -> Self::DeleteWebhook
[src]
type GetWebhookInfo = B::GetWebhookInfo
fn get_webhook_info(&self) -> Self::GetWebhookInfo
[src]
type ForwardMessage = B::ForwardMessage
fn forward_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type CopyMessage = B::CopyMessage
fn copy_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type SendMessage = B::SendMessage
fn send_message<C, T>(&self, chat_id: C, text: T) -> Self::SendMessage where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type SendPhoto = B::SendPhoto
fn send_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SendPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendAudio = B::SendAudio
fn send_audio<C>(&self, chat_id: C, audio: InputFile) -> Self::SendAudio where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendDocument = B::SendDocument
fn send_document<C>(
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
type SendVideo = B::SendVideo
fn send_video<C>(&self, chat_id: C, video: InputFile) -> Self::SendVideo where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendAnimation = B::SendAnimation
fn send_animation<C>(
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
type SendVoice = B::SendVoice
fn send_voice<C>(&self, chat_id: C, voice: InputFile) -> Self::SendVoice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendVideoNote = B::SendVideoNote
fn send_video_note<C>(
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
type SendMediaGroup = B::SendMediaGroup
fn send_media_group<C, M>(&self, chat_id: C, media: M) -> Self::SendMediaGroup where
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
[src]
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
type SendLocation = B::SendLocation
fn send_location<C>(
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
type EditMessageLiveLocation = B::EditMessageLiveLocation
fn edit_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
type EditMessageLiveLocationInline = B::EditMessageLiveLocationInline
fn edit_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
type StopMessageLiveLocation = B::StopMessageLiveLocation
fn stop_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
type StopMessageLiveLocationInline = B::StopMessageLiveLocationInline
fn stop_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
type SendVenue = B::SendVenue
fn send_venue<C, T, A>(
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
type SendContact = B::SendContact
fn send_contact<C, P, F>(
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
[src]
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
type SendPoll = B::SendPoll
fn send_poll<C, Q, O>(
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
[src]
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
type SendDice = B::SendDice
fn send_dice<C>(&self, chat_id: C) -> Self::SendDice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendChatAction = B::SendChatAction
fn send_chat_action<C>(
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
type GetUserProfilePhotos = B::GetUserProfilePhotos
fn get_user_profile_photos(&self, user_id: i64) -> Self::GetUserProfilePhotos
[src]
type GetFile = B::GetFile
fn get_file<F>(&self, file_id: F) -> Self::GetFile where
F: Into<String>,
[src]
F: Into<String>,
type KickChatMember = B::KickChatMember
fn kick_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::KickChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type UnbanChatMember = B::UnbanChatMember
fn unban_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
type RestrictChatMember = B::RestrictChatMember
fn restrict_chat_member<C>(
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
type PromoteChatMember = B::PromoteChatMember
fn promote_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
type SetChatAdministratorCustomTitle = B::SetChatAdministratorCustomTitle
fn set_chat_administrator_custom_title<Ch, Cu>(
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
[src]
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
type SetChatPermissions = B::SetChatPermissions
fn set_chat_permissions<C>(
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
type ExportChatInviteLink = B::ExportChatInviteLink
fn export_chat_invite_link<C>(&self, chat_id: C) -> Self::ExportChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type CreateChatInviteLink = B::CreateChatInviteLink
fn create_chat_invite_link<C>(&self, chat_id: C) -> Self::CreateChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type EditChatInviteLink = B::EditChatInviteLink
fn edit_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type RevokeChatInviteLink = B::RevokeChatInviteLink
fn revoke_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type SetChatPhoto = B::SetChatPhoto
fn set_chat_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SetChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteChatPhoto = B::DeleteChatPhoto
fn delete_chat_photo<C>(&self, chat_id: C) -> Self::DeleteChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatTitle = B::SetChatTitle
fn set_chat_title<C, T>(&self, chat_id: C, title: T) -> Self::SetChatTitle where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type SetChatDescription = B::SetChatDescription
fn set_chat_description<C>(&self, chat_id: C) -> Self::SetChatDescription where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type PinChatMessage = B::PinChatMessage
fn pin_chat_message<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
type UnpinChatMessage = B::UnpinChatMessage
fn unpin_chat_message<C>(&self, chat_id: C) -> Self::UnpinChatMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type UnpinAllChatMessages = B::UnpinAllChatMessages
fn unpin_all_chat_messages<C>(&self, chat_id: C) -> Self::UnpinAllChatMessages where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type LeaveChat = B::LeaveChat
fn leave_chat<C>(&self, chat_id: C) -> Self::LeaveChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChat = B::GetChat
fn get_chat<C>(&self, chat_id: C) -> Self::GetChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatAdministrators = B::GetChatAdministrators
fn get_chat_administrators<C>(&self, chat_id: C) -> Self::GetChatAdministrators where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMembersCount = B::GetChatMembersCount
fn get_chat_members_count<C>(&self, chat_id: C) -> Self::GetChatMembersCount where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMember = B::GetChatMember
fn get_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::GetChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatStickerSet = B::SetChatStickerSet
fn set_chat_sticker_set<C, S>(
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
[src]
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
type DeleteChatStickerSet = B::DeleteChatStickerSet
fn delete_chat_sticker_set<C>(&self, chat_id: C) -> Self::DeleteChatStickerSet where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type AnswerCallbackQuery = B::AnswerCallbackQuery
fn answer_callback_query<C>(
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
[src]
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
type SetMyCommands = B::SetMyCommands
fn set_my_commands<C>(&self, commands: C) -> Self::SetMyCommands where
C: IntoIterator<Item = BotCommand>,
[src]
C: IntoIterator<Item = BotCommand>,
type GetMyCommands = B::GetMyCommands
fn get_my_commands(&self) -> Self::GetMyCommands
[src]
type AnswerInlineQuery = B::AnswerInlineQuery
fn answer_inline_query<I, R>(
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
[src]
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
type EditMessageText = B::EditMessageText
fn edit_message_text<C, T>(
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
[src]
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
type EditMessageTextInline = B::EditMessageTextInline
fn edit_message_text_inline<I, T>(
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
[src]
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
type EditMessageCaption = B::EditMessageCaption
fn edit_message_caption<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
type EditMessageCaptionInline = B::EditMessageCaptionInline
fn edit_message_caption_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
type EditMessageMedia = B::EditMessageMedia
fn edit_message_media<C>(
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
type EditMessageMediaInline = B::EditMessageMediaInline
fn edit_message_media_inline<I>(
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
type EditMessageReplyMarkup = B::EditMessageReplyMarkup
fn edit_message_reply_markup<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
type EditMessageReplyMarkupInline = B::EditMessageReplyMarkupInline
fn edit_message_reply_markup_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
type StopPoll = B::StopPoll
fn stop_poll<C>(&self, chat_id: C, message_id: i32) -> Self::StopPoll where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteMessage = B::DeleteMessage
fn delete_message<C>(&self, chat_id: C, message_id: i32) -> Self::DeleteMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendSticker = B::SendSticker
fn send_sticker<C>(&self, chat_id: C, sticker: InputFile) -> Self::SendSticker where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetStickerSet = B::GetStickerSet
fn get_sticker_set<N>(&self, name: N) -> Self::GetStickerSet where
N: Into<String>,
[src]
N: Into<String>,
type UploadStickerFile = B::UploadStickerFile
fn upload_sticker_file(
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
[src]
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
type CreateNewStickerSet = B::CreateNewStickerSet
fn create_new_sticker_set<N, T, E>(
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
type AddStickerToSet = B::AddStickerToSet
fn add_sticker_to_set<N, E>(
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
type SetStickerPositionInSet = B::SetStickerPositionInSet
fn set_sticker_position_in_set<S>(
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
[src]
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
type DeleteStickerFromSet = B::DeleteStickerFromSet
fn delete_sticker_from_set<S>(&self, sticker: S) -> Self::DeleteStickerFromSet where
S: Into<String>,
[src]
S: Into<String>,
type SetStickerSetThumb = B::SetStickerSetThumb
fn set_sticker_set_thumb<N>(
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
[src]
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
type SendInvoice = B::SendInvoice
fn send_invoice<T, D, Pa, P, S, C, Pri>(
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
[src]
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
type AnswerShippingQuery = B::AnswerShippingQuery
fn answer_shipping_query<S>(
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
[src]
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
type AnswerPreCheckoutQuery = B::AnswerPreCheckoutQuery
fn answer_pre_checkout_query<P>(
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
[src]
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
type SetPassportDataErrors = B::SetPassportDataErrors
fn set_passport_data_errors<E>(
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
[src]
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
type SendGame = B::SendGame
fn send_game<G>(&self, chat_id: u32, game_short_name: G) -> Self::SendGame where
G: Into<String>,
[src]
G: Into<String>,
type SetGameScore = B::SetGameScore
fn set_game_score(
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
[src]
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
type SetGameScoreInline = B::SetGameScoreInline
fn set_game_score_inline<I>(
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
[src]
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
type GetGameHighScores = B::GetGameHighScores
fn get_game_high_scores<T>(
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
[src]
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
type GetUpdatesFaultTolerant = B::GetUpdatesFaultTolerant
fn get_updates_fault_tolerant(&self) -> Self::GetUpdatesFaultTolerant
[src]
impl<B> Requester for Arc<B> where
B: Requester,
[src]
B: Requester,
type Err = B::Err
type GetMe = B::GetMe
fn get_me(&self) -> Self::GetMe
[src]
type LogOut = B::LogOut
fn log_out(&self) -> Self::LogOut
[src]
type Close = B::Close
fn close(&self) -> Self::Close
[src]
type GetUpdates = B::GetUpdates
fn get_updates(&self) -> Self::GetUpdates
[src]
type SetWebhook = B::SetWebhook
fn set_webhook<U>(&self, url: U) -> Self::SetWebhook where
U: Into<String>,
[src]
U: Into<String>,
type DeleteWebhook = B::DeleteWebhook
fn delete_webhook(&self) -> Self::DeleteWebhook
[src]
type GetWebhookInfo = B::GetWebhookInfo
fn get_webhook_info(&self) -> Self::GetWebhookInfo
[src]
type ForwardMessage = B::ForwardMessage
fn forward_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type CopyMessage = B::CopyMessage
fn copy_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type SendMessage = B::SendMessage
fn send_message<C, T>(&self, chat_id: C, text: T) -> Self::SendMessage where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type SendPhoto = B::SendPhoto
fn send_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SendPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendAudio = B::SendAudio
fn send_audio<C>(&self, chat_id: C, audio: InputFile) -> Self::SendAudio where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendDocument = B::SendDocument
fn send_document<C>(
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
type SendVideo = B::SendVideo
fn send_video<C>(&self, chat_id: C, video: InputFile) -> Self::SendVideo where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendAnimation = B::SendAnimation
fn send_animation<C>(
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
type SendVoice = B::SendVoice
fn send_voice<C>(&self, chat_id: C, voice: InputFile) -> Self::SendVoice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendVideoNote = B::SendVideoNote
fn send_video_note<C>(
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
type SendMediaGroup = B::SendMediaGroup
fn send_media_group<C, M>(&self, chat_id: C, media: M) -> Self::SendMediaGroup where
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
[src]
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
type SendLocation = B::SendLocation
fn send_location<C>(
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
type EditMessageLiveLocation = B::EditMessageLiveLocation
fn edit_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
type EditMessageLiveLocationInline = B::EditMessageLiveLocationInline
fn edit_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
type StopMessageLiveLocation = B::StopMessageLiveLocation
fn stop_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
type StopMessageLiveLocationInline = B::StopMessageLiveLocationInline
fn stop_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
type SendVenue = B::SendVenue
fn send_venue<C, T, A>(
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
type SendContact = B::SendContact
fn send_contact<C, P, F>(
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
[src]
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
type SendPoll = B::SendPoll
fn send_poll<C, Q, O>(
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
[src]
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
type SendDice = B::SendDice
fn send_dice<C>(&self, chat_id: C) -> Self::SendDice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendChatAction = B::SendChatAction
fn send_chat_action<C>(
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
type GetUserProfilePhotos = B::GetUserProfilePhotos
fn get_user_profile_photos(&self, user_id: i64) -> Self::GetUserProfilePhotos
[src]
type GetFile = B::GetFile
fn get_file<F>(&self, file_id: F) -> Self::GetFile where
F: Into<String>,
[src]
F: Into<String>,
type KickChatMember = B::KickChatMember
fn kick_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::KickChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type UnbanChatMember = B::UnbanChatMember
fn unban_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
type RestrictChatMember = B::RestrictChatMember
fn restrict_chat_member<C>(
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
type PromoteChatMember = B::PromoteChatMember
fn promote_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
type SetChatAdministratorCustomTitle = B::SetChatAdministratorCustomTitle
fn set_chat_administrator_custom_title<Ch, Cu>(
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
[src]
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
type SetChatPermissions = B::SetChatPermissions
fn set_chat_permissions<C>(
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
type ExportChatInviteLink = B::ExportChatInviteLink
fn export_chat_invite_link<C>(&self, chat_id: C) -> Self::ExportChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type CreateChatInviteLink = B::CreateChatInviteLink
fn create_chat_invite_link<C>(&self, chat_id: C) -> Self::CreateChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type EditChatInviteLink = B::EditChatInviteLink
fn edit_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type RevokeChatInviteLink = B::RevokeChatInviteLink
fn revoke_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type SetChatPhoto = B::SetChatPhoto
fn set_chat_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SetChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteChatPhoto = B::DeleteChatPhoto
fn delete_chat_photo<C>(&self, chat_id: C) -> Self::DeleteChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatTitle = B::SetChatTitle
fn set_chat_title<C, T>(&self, chat_id: C, title: T) -> Self::SetChatTitle where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type SetChatDescription = B::SetChatDescription
fn set_chat_description<C>(&self, chat_id: C) -> Self::SetChatDescription where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type PinChatMessage = B::PinChatMessage
fn pin_chat_message<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
type UnpinChatMessage = B::UnpinChatMessage
fn unpin_chat_message<C>(&self, chat_id: C) -> Self::UnpinChatMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type UnpinAllChatMessages = B::UnpinAllChatMessages
fn unpin_all_chat_messages<C>(&self, chat_id: C) -> Self::UnpinAllChatMessages where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type LeaveChat = B::LeaveChat
fn leave_chat<C>(&self, chat_id: C) -> Self::LeaveChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChat = B::GetChat
fn get_chat<C>(&self, chat_id: C) -> Self::GetChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatAdministrators = B::GetChatAdministrators
fn get_chat_administrators<C>(&self, chat_id: C) -> Self::GetChatAdministrators where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMembersCount = B::GetChatMembersCount
fn get_chat_members_count<C>(&self, chat_id: C) -> Self::GetChatMembersCount where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMember = B::GetChatMember
fn get_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::GetChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatStickerSet = B::SetChatStickerSet
fn set_chat_sticker_set<C, S>(
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
[src]
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
type DeleteChatStickerSet = B::DeleteChatStickerSet
fn delete_chat_sticker_set<C>(&self, chat_id: C) -> Self::DeleteChatStickerSet where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type AnswerCallbackQuery = B::AnswerCallbackQuery
fn answer_callback_query<C>(
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
[src]
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
type SetMyCommands = B::SetMyCommands
fn set_my_commands<C>(&self, commands: C) -> Self::SetMyCommands where
C: IntoIterator<Item = BotCommand>,
[src]
C: IntoIterator<Item = BotCommand>,
type GetMyCommands = B::GetMyCommands
fn get_my_commands(&self) -> Self::GetMyCommands
[src]
type AnswerInlineQuery = B::AnswerInlineQuery
fn answer_inline_query<I, R>(
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
[src]
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
type EditMessageText = B::EditMessageText
fn edit_message_text<C, T>(
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
[src]
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
type EditMessageTextInline = B::EditMessageTextInline
fn edit_message_text_inline<I, T>(
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
[src]
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
type EditMessageCaption = B::EditMessageCaption
fn edit_message_caption<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
type EditMessageCaptionInline = B::EditMessageCaptionInline
fn edit_message_caption_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
type EditMessageMedia = B::EditMessageMedia
fn edit_message_media<C>(
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
type EditMessageMediaInline = B::EditMessageMediaInline
fn edit_message_media_inline<I>(
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
type EditMessageReplyMarkup = B::EditMessageReplyMarkup
fn edit_message_reply_markup<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
type EditMessageReplyMarkupInline = B::EditMessageReplyMarkupInline
fn edit_message_reply_markup_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
type StopPoll = B::StopPoll
fn stop_poll<C>(&self, chat_id: C, message_id: i32) -> Self::StopPoll where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteMessage = B::DeleteMessage
fn delete_message<C>(&self, chat_id: C, message_id: i32) -> Self::DeleteMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendSticker = B::SendSticker
fn send_sticker<C>(&self, chat_id: C, sticker: InputFile) -> Self::SendSticker where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetStickerSet = B::GetStickerSet
fn get_sticker_set<N>(&self, name: N) -> Self::GetStickerSet where
N: Into<String>,
[src]
N: Into<String>,
type UploadStickerFile = B::UploadStickerFile
fn upload_sticker_file(
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
[src]
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
type CreateNewStickerSet = B::CreateNewStickerSet
fn create_new_sticker_set<N, T, E>(
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
type AddStickerToSet = B::AddStickerToSet
fn add_sticker_to_set<N, E>(
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
type SetStickerPositionInSet = B::SetStickerPositionInSet
fn set_sticker_position_in_set<S>(
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
[src]
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
type DeleteStickerFromSet = B::DeleteStickerFromSet
fn delete_sticker_from_set<S>(&self, sticker: S) -> Self::DeleteStickerFromSet where
S: Into<String>,
[src]
S: Into<String>,
type SetStickerSetThumb = B::SetStickerSetThumb
fn set_sticker_set_thumb<N>(
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
[src]
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
type SendInvoice = B::SendInvoice
fn send_invoice<T, D, Pa, P, S, C, Pri>(
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
[src]
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
type AnswerShippingQuery = B::AnswerShippingQuery
fn answer_shipping_query<S>(
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
[src]
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
type AnswerPreCheckoutQuery = B::AnswerPreCheckoutQuery
fn answer_pre_checkout_query<P>(
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
[src]
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
type SetPassportDataErrors = B::SetPassportDataErrors
fn set_passport_data_errors<E>(
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
[src]
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
type SendGame = B::SendGame
fn send_game<G>(&self, chat_id: u32, game_short_name: G) -> Self::SendGame where
G: Into<String>,
[src]
G: Into<String>,
type SetGameScore = B::SetGameScore
fn set_game_score(
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
[src]
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
type SetGameScoreInline = B::SetGameScoreInline
fn set_game_score_inline<I>(
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
[src]
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
type GetGameHighScores = B::GetGameHighScores
fn get_game_high_scores<T>(
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
[src]
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
type GetUpdatesFaultTolerant = B::GetUpdatesFaultTolerant
fn get_updates_fault_tolerant(&self) -> Self::GetUpdatesFaultTolerant
[src]
impl<B> Requester for Rc<B> where
B: Requester,
[src]
B: Requester,
type Err = B::Err
type GetMe = B::GetMe
fn get_me(&self) -> Self::GetMe
[src]
type LogOut = B::LogOut
fn log_out(&self) -> Self::LogOut
[src]
type Close = B::Close
fn close(&self) -> Self::Close
[src]
type GetUpdates = B::GetUpdates
fn get_updates(&self) -> Self::GetUpdates
[src]
type SetWebhook = B::SetWebhook
fn set_webhook<U>(&self, url: U) -> Self::SetWebhook where
U: Into<String>,
[src]
U: Into<String>,
type DeleteWebhook = B::DeleteWebhook
fn delete_webhook(&self) -> Self::DeleteWebhook
[src]
type GetWebhookInfo = B::GetWebhookInfo
fn get_webhook_info(&self) -> Self::GetWebhookInfo
[src]
type ForwardMessage = B::ForwardMessage
fn forward_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type CopyMessage = B::CopyMessage
fn copy_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type SendMessage = B::SendMessage
fn send_message<C, T>(&self, chat_id: C, text: T) -> Self::SendMessage where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type SendPhoto = B::SendPhoto
fn send_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SendPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendAudio = B::SendAudio
fn send_audio<C>(&self, chat_id: C, audio: InputFile) -> Self::SendAudio where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendDocument = B::SendDocument
fn send_document<C>(
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
type SendVideo = B::SendVideo
fn send_video<C>(&self, chat_id: C, video: InputFile) -> Self::SendVideo where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendAnimation = B::SendAnimation
fn send_animation<C>(
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
type SendVoice = B::SendVoice
fn send_voice<C>(&self, chat_id: C, voice: InputFile) -> Self::SendVoice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendVideoNote = B::SendVideoNote
fn send_video_note<C>(
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
type SendMediaGroup = B::SendMediaGroup
fn send_media_group<C, M>(&self, chat_id: C, media: M) -> Self::SendMediaGroup where
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
[src]
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
type SendLocation = B::SendLocation
fn send_location<C>(
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
type EditMessageLiveLocation = B::EditMessageLiveLocation
fn edit_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
type EditMessageLiveLocationInline = B::EditMessageLiveLocationInline
fn edit_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
type StopMessageLiveLocation = B::StopMessageLiveLocation
fn stop_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
type StopMessageLiveLocationInline = B::StopMessageLiveLocationInline
fn stop_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
type SendVenue = B::SendVenue
fn send_venue<C, T, A>(
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
type SendContact = B::SendContact
fn send_contact<C, P, F>(
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
[src]
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
type SendPoll = B::SendPoll
fn send_poll<C, Q, O>(
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
[src]
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
type SendDice = B::SendDice
fn send_dice<C>(&self, chat_id: C) -> Self::SendDice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendChatAction = B::SendChatAction
fn send_chat_action<C>(
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
type GetUserProfilePhotos = B::GetUserProfilePhotos
fn get_user_profile_photos(&self, user_id: i64) -> Self::GetUserProfilePhotos
[src]
type GetFile = B::GetFile
fn get_file<F>(&self, file_id: F) -> Self::GetFile where
F: Into<String>,
[src]
F: Into<String>,
type KickChatMember = B::KickChatMember
fn kick_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::KickChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type UnbanChatMember = B::UnbanChatMember
fn unban_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
type RestrictChatMember = B::RestrictChatMember
fn restrict_chat_member<C>(
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
type PromoteChatMember = B::PromoteChatMember
fn promote_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
type SetChatAdministratorCustomTitle = B::SetChatAdministratorCustomTitle
fn set_chat_administrator_custom_title<Ch, Cu>(
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
[src]
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
type SetChatPermissions = B::SetChatPermissions
fn set_chat_permissions<C>(
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
type ExportChatInviteLink = B::ExportChatInviteLink
fn export_chat_invite_link<C>(&self, chat_id: C) -> Self::ExportChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type CreateChatInviteLink = B::CreateChatInviteLink
fn create_chat_invite_link<C>(&self, chat_id: C) -> Self::CreateChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type EditChatInviteLink = B::EditChatInviteLink
fn edit_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type RevokeChatInviteLink = B::RevokeChatInviteLink
fn revoke_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type SetChatPhoto = B::SetChatPhoto
fn set_chat_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SetChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteChatPhoto = B::DeleteChatPhoto
fn delete_chat_photo<C>(&self, chat_id: C) -> Self::DeleteChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatTitle = B::SetChatTitle
fn set_chat_title<C, T>(&self, chat_id: C, title: T) -> Self::SetChatTitle where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type SetChatDescription = B::SetChatDescription
fn set_chat_description<C>(&self, chat_id: C) -> Self::SetChatDescription where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type PinChatMessage = B::PinChatMessage
fn pin_chat_message<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
type UnpinChatMessage = B::UnpinChatMessage
fn unpin_chat_message<C>(&self, chat_id: C) -> Self::UnpinChatMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type UnpinAllChatMessages = B::UnpinAllChatMessages
fn unpin_all_chat_messages<C>(&self, chat_id: C) -> Self::UnpinAllChatMessages where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type LeaveChat = B::LeaveChat
fn leave_chat<C>(&self, chat_id: C) -> Self::LeaveChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChat = B::GetChat
fn get_chat<C>(&self, chat_id: C) -> Self::GetChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatAdministrators = B::GetChatAdministrators
fn get_chat_administrators<C>(&self, chat_id: C) -> Self::GetChatAdministrators where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMembersCount = B::GetChatMembersCount
fn get_chat_members_count<C>(&self, chat_id: C) -> Self::GetChatMembersCount where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMember = B::GetChatMember
fn get_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::GetChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatStickerSet = B::SetChatStickerSet
fn set_chat_sticker_set<C, S>(
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
[src]
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
type DeleteChatStickerSet = B::DeleteChatStickerSet
fn delete_chat_sticker_set<C>(&self, chat_id: C) -> Self::DeleteChatStickerSet where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type AnswerCallbackQuery = B::AnswerCallbackQuery
fn answer_callback_query<C>(
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
[src]
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
type SetMyCommands = B::SetMyCommands
fn set_my_commands<C>(&self, commands: C) -> Self::SetMyCommands where
C: IntoIterator<Item = BotCommand>,
[src]
C: IntoIterator<Item = BotCommand>,
type GetMyCommands = B::GetMyCommands
fn get_my_commands(&self) -> Self::GetMyCommands
[src]
type AnswerInlineQuery = B::AnswerInlineQuery
fn answer_inline_query<I, R>(
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
[src]
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
type EditMessageText = B::EditMessageText
fn edit_message_text<C, T>(
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
[src]
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
type EditMessageTextInline = B::EditMessageTextInline
fn edit_message_text_inline<I, T>(
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
[src]
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
type EditMessageCaption = B::EditMessageCaption
fn edit_message_caption<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
type EditMessageCaptionInline = B::EditMessageCaptionInline
fn edit_message_caption_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
type EditMessageMedia = B::EditMessageMedia
fn edit_message_media<C>(
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
type EditMessageMediaInline = B::EditMessageMediaInline
fn edit_message_media_inline<I>(
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
type EditMessageReplyMarkup = B::EditMessageReplyMarkup
fn edit_message_reply_markup<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
type EditMessageReplyMarkupInline = B::EditMessageReplyMarkupInline
fn edit_message_reply_markup_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
type StopPoll = B::StopPoll
fn stop_poll<C>(&self, chat_id: C, message_id: i32) -> Self::StopPoll where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteMessage = B::DeleteMessage
fn delete_message<C>(&self, chat_id: C, message_id: i32) -> Self::DeleteMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendSticker = B::SendSticker
fn send_sticker<C>(&self, chat_id: C, sticker: InputFile) -> Self::SendSticker where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetStickerSet = B::GetStickerSet
fn get_sticker_set<N>(&self, name: N) -> Self::GetStickerSet where
N: Into<String>,
[src]
N: Into<String>,
type UploadStickerFile = B::UploadStickerFile
fn upload_sticker_file(
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
[src]
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
type CreateNewStickerSet = B::CreateNewStickerSet
fn create_new_sticker_set<N, T, E>(
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
type AddStickerToSet = B::AddStickerToSet
fn add_sticker_to_set<N, E>(
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
type SetStickerPositionInSet = B::SetStickerPositionInSet
fn set_sticker_position_in_set<S>(
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
[src]
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
type DeleteStickerFromSet = B::DeleteStickerFromSet
fn delete_sticker_from_set<S>(&self, sticker: S) -> Self::DeleteStickerFromSet where
S: Into<String>,
[src]
S: Into<String>,
type SetStickerSetThumb = B::SetStickerSetThumb
fn set_sticker_set_thumb<N>(
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
[src]
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
type SendInvoice = B::SendInvoice
fn send_invoice<T, D, Pa, P, S, C, Pri>(
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
[src]
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
type AnswerShippingQuery = B::AnswerShippingQuery
fn answer_shipping_query<S>(
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
[src]
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
type AnswerPreCheckoutQuery = B::AnswerPreCheckoutQuery
fn answer_pre_checkout_query<P>(
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
[src]
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
type SetPassportDataErrors = B::SetPassportDataErrors
fn set_passport_data_errors<E>(
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
[src]
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
type SendGame = B::SendGame
fn send_game<G>(&self, chat_id: u32, game_short_name: G) -> Self::SendGame where
G: Into<String>,
[src]
G: Into<String>,
type SetGameScore = B::SetGameScore
fn set_game_score(
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
[src]
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
type SetGameScoreInline = B::SetGameScoreInline
fn set_game_score_inline<I>(
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
[src]
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
type GetGameHighScores = B::GetGameHighScores
fn get_game_high_scores<T>(
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
[src]
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
type GetUpdatesFaultTolerant = B::GetUpdatesFaultTolerant
fn get_updates_fault_tolerant(&self) -> Self::GetUpdatesFaultTolerant
[src]
Implementors
impl Requester for Bot
[src]
type Err = RequestError
type GetUpdates = JsonRequest<GetUpdates>
fn get_updates(&self) -> Self::GetUpdates
[src]
type SetWebhook = JsonRequest<SetWebhook>
fn set_webhook<U>(&self, url: U) -> Self::SetWebhook where
U: Into<String>,
[src]
U: Into<String>,
type DeleteWebhook = JsonRequest<DeleteWebhook>
fn delete_webhook(&self) -> Self::DeleteWebhook
[src]
type GetWebhookInfo = JsonRequest<GetWebhookInfo>
fn get_webhook_info(&self) -> Self::GetWebhookInfo
[src]
type GetMe = JsonRequest<GetMe>
fn get_me(&self) -> Self::GetMe
[src]
type SendMessage = JsonRequest<SendMessage>
fn send_message<C, T>(&self, chat_id: C, text: T) -> Self::SendMessage where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type ForwardMessage = JsonRequest<ForwardMessage>
fn forward_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type SendPhoto = MultipartRequest<SendPhoto>
fn send_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SendPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendAudio = MultipartRequest<SendAudio>
fn send_audio<C>(&self, chat_id: C, audio: InputFile) -> Self::SendAudio where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendDocument = MultipartRequest<SendDocument>
fn send_document<C>(
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
type SendVideo = MultipartRequest<SendVideo>
fn send_video<C>(&self, chat_id: C, video: InputFile) -> Self::SendVideo where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendAnimation = MultipartRequest<SendAnimation>
fn send_animation<C>(
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
type SendVoice = MultipartRequest<SendVoice>
fn send_voice<C>(&self, chat_id: C, voice: InputFile) -> Self::SendVoice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendVideoNote = MultipartRequest<SendVideoNote>
fn send_video_note<C>(
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
type SendMediaGroup = MultipartRequest<SendMediaGroup>
fn send_media_group<C, M>(&self, chat_id: C, media: M) -> Self::SendMediaGroup where
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
[src]
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
type SendLocation = JsonRequest<SendLocation>
fn send_location<C>(
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
type EditMessageLiveLocation = JsonRequest<EditMessageLiveLocation>
fn edit_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
type EditMessageLiveLocationInline = JsonRequest<EditMessageLiveLocationInline>
fn edit_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
type StopMessageLiveLocation = JsonRequest<StopMessageLiveLocation>
fn stop_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
type StopMessageLiveLocationInline = JsonRequest<StopMessageLiveLocationInline>
fn stop_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
type SendVenue = JsonRequest<SendVenue>
fn send_venue<C, T, A>(
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
type SendContact = JsonRequest<SendContact>
fn send_contact<C, P, F>(
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
[src]
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
type SendPoll = JsonRequest<SendPoll>
fn send_poll<C, Q, O>(
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
[src]
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
type SendDice = JsonRequest<SendDice>
fn send_dice<C>(&self, chat_id: C) -> Self::SendDice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendChatAction = JsonRequest<SendChatAction>
fn send_chat_action<C>(
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
type GetUserProfilePhotos = JsonRequest<GetUserProfilePhotos>
fn get_user_profile_photos(&self, user_id: i64) -> Self::GetUserProfilePhotos
[src]
type GetFile = JsonRequest<GetFile>
fn get_file<F>(&self, file_id: F) -> Self::GetFile where
F: Into<String>,
[src]
F: Into<String>,
type KickChatMember = JsonRequest<KickChatMember>
fn kick_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::KickChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type UnbanChatMember = JsonRequest<UnbanChatMember>
fn unban_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
type RestrictChatMember = JsonRequest<RestrictChatMember>
fn restrict_chat_member<C>(
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
type PromoteChatMember = JsonRequest<PromoteChatMember>
fn promote_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
type SetChatAdministratorCustomTitle = JsonRequest<SetChatAdministratorCustomTitle>
fn set_chat_administrator_custom_title<Ch, Cu>(
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
[src]
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
type SetChatPermissions = JsonRequest<SetChatPermissions>
fn set_chat_permissions<C>(
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
type ExportChatInviteLink = JsonRequest<ExportChatInviteLink>
fn export_chat_invite_link<C>(&self, chat_id: C) -> Self::ExportChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type CreateChatInviteLink = JsonRequest<CreateChatInviteLink>
fn create_chat_invite_link<C>(&self, chat_id: C) -> Self::CreateChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type EditChatInviteLink = JsonRequest<EditChatInviteLink>
fn edit_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type RevokeChatInviteLink = JsonRequest<RevokeChatInviteLink>
fn revoke_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type SetChatPhoto = MultipartRequest<SetChatPhoto>
fn set_chat_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SetChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteChatPhoto = JsonRequest<DeleteChatPhoto>
fn delete_chat_photo<C>(&self, chat_id: C) -> Self::DeleteChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatTitle = JsonRequest<SetChatTitle>
fn set_chat_title<C, T>(&self, chat_id: C, title: T) -> Self::SetChatTitle where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type SetChatDescription = JsonRequest<SetChatDescription>
fn set_chat_description<C>(&self, chat_id: C) -> Self::SetChatDescription where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type PinChatMessage = JsonRequest<PinChatMessage>
fn pin_chat_message<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
type UnpinChatMessage = JsonRequest<UnpinChatMessage>
fn unpin_chat_message<C>(&self, chat_id: C) -> Self::UnpinChatMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type LeaveChat = JsonRequest<LeaveChat>
fn leave_chat<C>(&self, chat_id: C) -> Self::LeaveChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChat = JsonRequest<GetChat>
fn get_chat<C>(&self, chat_id: C) -> Self::GetChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatAdministrators = JsonRequest<GetChatAdministrators>
fn get_chat_administrators<C>(&self, chat_id: C) -> Self::GetChatAdministrators where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMembersCount = JsonRequest<GetChatMembersCount>
fn get_chat_members_count<C>(&self, chat_id: C) -> Self::GetChatMembersCount where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMember = JsonRequest<GetChatMember>
fn get_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::GetChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatStickerSet = JsonRequest<SetChatStickerSet>
fn set_chat_sticker_set<C, S>(
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
[src]
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
type DeleteChatStickerSet = JsonRequest<DeleteChatStickerSet>
fn delete_chat_sticker_set<C>(&self, chat_id: C) -> Self::DeleteChatStickerSet where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type AnswerCallbackQuery = JsonRequest<AnswerCallbackQuery>
fn answer_callback_query<C>(
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
[src]
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
type SetMyCommands = JsonRequest<SetMyCommands>
fn set_my_commands<C>(&self, commands: C) -> Self::SetMyCommands where
C: IntoIterator<Item = BotCommand>,
[src]
C: IntoIterator<Item = BotCommand>,
type GetMyCommands = JsonRequest<GetMyCommands>
fn get_my_commands(&self) -> Self::GetMyCommands
[src]
type AnswerInlineQuery = JsonRequest<AnswerInlineQuery>
fn answer_inline_query<I, R>(
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
[src]
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
type EditMessageText = JsonRequest<EditMessageText>
fn edit_message_text<C, T>(
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
[src]
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
type EditMessageTextInline = JsonRequest<EditMessageTextInline>
fn edit_message_text_inline<I, T>(
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
[src]
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
type EditMessageCaption = JsonRequest<EditMessageCaption>
fn edit_message_caption<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
type EditMessageCaptionInline = JsonRequest<EditMessageCaptionInline>
fn edit_message_caption_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
type EditMessageMedia = MultipartRequest<EditMessageMedia>
fn edit_message_media<C>(
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
type EditMessageMediaInline = MultipartRequest<EditMessageMediaInline>
fn edit_message_media_inline<I>(
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
type EditMessageReplyMarkup = JsonRequest<EditMessageReplyMarkup>
fn edit_message_reply_markup<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
type EditMessageReplyMarkupInline = JsonRequest<EditMessageReplyMarkupInline>
fn edit_message_reply_markup_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
type StopPoll = JsonRequest<StopPoll>
fn stop_poll<C>(&self, chat_id: C, message_id: i32) -> Self::StopPoll where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteMessage = JsonRequest<DeleteMessage>
fn delete_message<C>(&self, chat_id: C, message_id: i32) -> Self::DeleteMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendSticker = MultipartRequest<SendSticker>
fn send_sticker<C>(&self, chat_id: C, sticker: InputFile) -> Self::SendSticker where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetStickerSet = JsonRequest<GetStickerSet>
fn get_sticker_set<N>(&self, name: N) -> Self::GetStickerSet where
N: Into<String>,
[src]
N: Into<String>,
type UploadStickerFile = MultipartRequest<UploadStickerFile>
fn upload_sticker_file(
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
[src]
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
type CreateNewStickerSet = MultipartRequest<CreateNewStickerSet>
fn create_new_sticker_set<N, T, E>(
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
type AddStickerToSet = MultipartRequest<AddStickerToSet>
fn add_sticker_to_set<N, E>(
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
type SetStickerPositionInSet = JsonRequest<SetStickerPositionInSet>
fn set_sticker_position_in_set<S>(
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
[src]
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
type DeleteStickerFromSet = JsonRequest<DeleteStickerFromSet>
fn delete_sticker_from_set<S>(&self, sticker: S) -> Self::DeleteStickerFromSet where
S: Into<String>,
[src]
S: Into<String>,
type SetStickerSetThumb = MultipartRequest<SetStickerSetThumb>
fn set_sticker_set_thumb<N>(
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
[src]
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
type SendInvoice = JsonRequest<SendInvoice>
fn send_invoice<T, D, Pa, P, S, C, Pri>(
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
[src]
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
type AnswerShippingQuery = JsonRequest<AnswerShippingQuery>
fn answer_shipping_query<S>(
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
[src]
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
type AnswerPreCheckoutQuery = JsonRequest<AnswerPreCheckoutQuery>
fn answer_pre_checkout_query<P>(
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
[src]
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
type SetPassportDataErrors = JsonRequest<SetPassportDataErrors>
fn set_passport_data_errors<E>(
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
[src]
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
type SendGame = JsonRequest<SendGame>
fn send_game<G>(&self, chat_id: u32, game_short_name: G) -> Self::SendGame where
G: Into<String>,
[src]
G: Into<String>,
type SetGameScore = JsonRequest<SetGameScore>
fn set_game_score(
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
[src]
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
type SetGameScoreInline = JsonRequest<SetGameScoreInline>
fn set_game_score_inline<I>(
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
[src]
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
type GetGameHighScores = JsonRequest<GetGameHighScores>
fn get_game_high_scores<T>(
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
[src]
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
type LogOut = JsonRequest<LogOut>
fn log_out(&self) -> Self::LogOut
[src]
type Close = JsonRequest<Close>
fn close(&self) -> Self::Close
[src]
type CopyMessage = JsonRequest<CopyMessage>
fn copy_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type UnpinAllChatMessages = JsonRequest<UnpinAllChatMessages>
fn unpin_all_chat_messages<C>(&self, chat_id: C) -> Self::UnpinAllChatMessages where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetUpdatesFaultTolerant = JsonRequest<GetUpdatesFaultTolerant>
fn get_updates_fault_tolerant(&self) -> Self::GetUpdatesFaultTolerant
[src]
impl<B: Requester> Requester for DefaultParseMode<B>
[src]
type Err = B::Err
type SendMessage = B::SendMessage
fn send_message<C, T>(&self, chat_id: C, text: T) -> Self::SendMessage where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type SendPhoto = B::SendPhoto
fn send_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SendPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendVideo = B::SendVideo
fn send_video<C>(&self, chat_id: C, video: InputFile) -> Self::SendVideo where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendAudio = B::SendAudio
fn send_audio<C>(&self, chat_id: C, audio: InputFile) -> Self::SendAudio where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendDocument = B::SendDocument
fn send_document<C>(
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
document: InputFile
) -> Self::SendDocument where
C: Into<ChatId>,
type SendAnimation = B::SendAnimation
fn send_animation<C>(
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimation where
C: Into<ChatId>,
type SendVoice = B::SendVoice
fn send_voice<C>(&self, chat_id: C, voice: InputFile) -> Self::SendVoice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type EditMessageText = B::EditMessageText
fn edit_message_text<C, T>(
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
[src]
&self,
chat_id: C,
message_id: i32,
text: T
) -> Self::EditMessageText where
C: Into<ChatId>,
T: Into<String>,
type EditMessageTextInline = B::EditMessageTextInline
fn edit_message_text_inline<I, T>(
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
[src]
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInline where
I: Into<String>,
T: Into<String>,
type EditMessageCaption = B::EditMessageCaption
fn edit_message_caption<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageCaption where
C: Into<ChatId>,
type EditMessageCaptionInline = B::EditMessageCaptionInline
fn edit_message_caption_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageCaptionInline where
I: Into<String>,
type SendPoll = B::SendPoll
fn send_poll<C, Q, O>(
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
[src]
&self,
chat_id: C,
question: Q,
options: O,
type_: PollType
) -> Self::SendPoll where
C: Into<ChatId>,
Q: Into<String>,
O: IntoIterator<Item = String>,
type GetMe = B::GetMe
fn get_me(&self) -> Self::GetMe
[src]
type LogOut = B::LogOut
fn log_out(&self) -> Self::LogOut
[src]
type Close = B::Close
fn close(&self) -> Self::Close
[src]
type GetUpdates = B::GetUpdates
fn get_updates(&self) -> Self::GetUpdates
[src]
type SetWebhook = B::SetWebhook
fn set_webhook<U>(&self, url: U) -> Self::SetWebhook where
U: Into<String>,
[src]
U: Into<String>,
type DeleteWebhook = B::DeleteWebhook
fn delete_webhook(&self) -> Self::DeleteWebhook
[src]
type GetWebhookInfo = B::GetWebhookInfo
fn get_webhook_info(&self) -> Self::GetWebhookInfo
[src]
type ForwardMessage = B::ForwardMessage
fn forward_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::ForwardMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type CopyMessage = B::CopyMessage
fn copy_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
[src]
&self,
chat_id: C,
from_chat_id: F,
message_id: i32
) -> Self::CopyMessage where
C: Into<ChatId>,
F: Into<ChatId>,
type SendVideoNote = B::SendVideoNote
fn send_video_note<C>(
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNote where
C: Into<ChatId>,
type SendMediaGroup = B::SendMediaGroup
fn send_media_group<C, M>(&self, chat_id: C, media: M) -> Self::SendMediaGroup where
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
[src]
C: Into<ChatId>,
M: IntoIterator<Item = InputMedia>,
type SendLocation = B::SendLocation
fn send_location<C>(
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocation where
C: Into<ChatId>,
type EditMessageLiveLocation = B::EditMessageLiveLocation
fn edit_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocation where
C: Into<ChatId>,
type EditMessageLiveLocationInline = B::EditMessageLiveLocationInline
fn edit_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInline where
I: Into<String>,
type StopMessageLiveLocation = B::StopMessageLiveLocation
fn stop_message_live_location<C>(
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocation where
C: Into<ChatId>,
type StopMessageLiveLocationInline = B::StopMessageLiveLocationInline
fn stop_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInline where
I: Into<String>,
type SendVenue = B::SendVenue
fn send_venue<C, T, A>(
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
[src]
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenue where
C: Into<ChatId>,
T: Into<String>,
A: Into<String>,
type SendContact = B::SendContact
fn send_contact<C, P, F>(
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
[src]
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContact where
C: Into<ChatId>,
P: Into<String>,
F: Into<String>,
type SendDice = B::SendDice
fn send_dice<C>(&self, chat_id: C) -> Self::SendDice where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendChatAction = B::SendChatAction
fn send_chat_action<C>(
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatAction where
C: Into<ChatId>,
type GetUserProfilePhotos = B::GetUserProfilePhotos
fn get_user_profile_photos(&self, user_id: i64) -> Self::GetUserProfilePhotos
[src]
type GetFile = B::GetFile
fn get_file<F>(&self, file_id: F) -> Self::GetFile where
F: Into<String>,
[src]
F: Into<String>,
type KickChatMember = B::KickChatMember
fn kick_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::KickChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type UnbanChatMember = B::UnbanChatMember
fn unban_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::UnbanChatMember where
C: Into<ChatId>,
type RestrictChatMember = B::RestrictChatMember
fn restrict_chat_member<C>(
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64,
permissions: ChatPermissions
) -> Self::RestrictChatMember where
C: Into<ChatId>,
type PromoteChatMember = B::PromoteChatMember
fn promote_chat_member<C>(
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
user_id: i64
) -> Self::PromoteChatMember where
C: Into<ChatId>,
type SetChatAdministratorCustomTitle = B::SetChatAdministratorCustomTitle
fn set_chat_administrator_custom_title<Ch, Cu>(
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
[src]
&self,
chat_id: Ch,
user_id: i64,
custom_title: Cu
) -> Self::SetChatAdministratorCustomTitle where
Ch: Into<ChatId>,
Cu: Into<String>,
type SetChatPermissions = B::SetChatPermissions
fn set_chat_permissions<C>(
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissions where
C: Into<ChatId>,
type ExportChatInviteLink = B::ExportChatInviteLink
fn export_chat_invite_link<C>(&self, chat_id: C) -> Self::ExportChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type CreateChatInviteLink = B::CreateChatInviteLink
fn create_chat_invite_link<C>(&self, chat_id: C) -> Self::CreateChatInviteLink where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type EditChatInviteLink = B::EditChatInviteLink
fn edit_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type RevokeChatInviteLink = B::RevokeChatInviteLink
fn revoke_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
[src]
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLink where
C: Into<ChatId>,
I: Into<String>,
type SetChatPhoto = B::SetChatPhoto
fn set_chat_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SetChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteChatPhoto = B::DeleteChatPhoto
fn delete_chat_photo<C>(&self, chat_id: C) -> Self::DeleteChatPhoto where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatTitle = B::SetChatTitle
fn set_chat_title<C, T>(&self, chat_id: C, title: T) -> Self::SetChatTitle where
C: Into<ChatId>,
T: Into<String>,
[src]
C: Into<ChatId>,
T: Into<String>,
type SetChatDescription = B::SetChatDescription
fn set_chat_description<C>(&self, chat_id: C) -> Self::SetChatDescription where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type PinChatMessage = B::PinChatMessage
fn pin_chat_message<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::PinChatMessage where
C: Into<ChatId>,
type UnpinChatMessage = B::UnpinChatMessage
fn unpin_chat_message<C>(&self, chat_id: C) -> Self::UnpinChatMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type UnpinAllChatMessages = B::UnpinAllChatMessages
fn unpin_all_chat_messages<C>(&self, chat_id: C) -> Self::UnpinAllChatMessages where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type LeaveChat = B::LeaveChat
fn leave_chat<C>(&self, chat_id: C) -> Self::LeaveChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChat = B::GetChat
fn get_chat<C>(&self, chat_id: C) -> Self::GetChat where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatAdministrators = B::GetChatAdministrators
fn get_chat_administrators<C>(&self, chat_id: C) -> Self::GetChatAdministrators where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMembersCount = B::GetChatMembersCount
fn get_chat_members_count<C>(&self, chat_id: C) -> Self::GetChatMembersCount where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetChatMember = B::GetChatMember
fn get_chat_member<C>(&self, chat_id: C, user_id: i64) -> Self::GetChatMember where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SetChatStickerSet = B::SetChatStickerSet
fn set_chat_sticker_set<C, S>(
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
[src]
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSet where
C: Into<ChatId>,
S: Into<String>,
type DeleteChatStickerSet = B::DeleteChatStickerSet
fn delete_chat_sticker_set<C>(&self, chat_id: C) -> Self::DeleteChatStickerSet where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type AnswerCallbackQuery = B::AnswerCallbackQuery
fn answer_callback_query<C>(
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
[src]
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuery where
C: Into<String>,
type SetMyCommands = B::SetMyCommands
fn set_my_commands<C>(&self, commands: C) -> Self::SetMyCommands where
C: IntoIterator<Item = BotCommand>,
[src]
C: IntoIterator<Item = BotCommand>,
type GetMyCommands = B::GetMyCommands
fn get_my_commands(&self) -> Self::GetMyCommands
[src]
type AnswerInlineQuery = B::AnswerInlineQuery
fn answer_inline_query<I, R>(
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
[src]
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuery where
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
type EditMessageMedia = B::EditMessageMedia
fn edit_message_media<C>(
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32,
media: InputMedia
) -> Self::EditMessageMedia where
C: Into<ChatId>,
type EditMessageMediaInline = B::EditMessageMediaInline
fn edit_message_media_inline<I>(
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
[src]
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInline where
I: Into<String>,
type EditMessageReplyMarkup = B::EditMessageReplyMarkup
fn edit_message_reply_markup<C>(
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
[src]
&self,
chat_id: C,
message_id: i32
) -> Self::EditMessageReplyMarkup where
C: Into<ChatId>,
type EditMessageReplyMarkupInline = B::EditMessageReplyMarkupInline
fn edit_message_reply_markup_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
[src]
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInline where
I: Into<String>,
type StopPoll = B::StopPoll
fn stop_poll<C>(&self, chat_id: C, message_id: i32) -> Self::StopPoll where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type DeleteMessage = B::DeleteMessage
fn delete_message<C>(&self, chat_id: C, message_id: i32) -> Self::DeleteMessage where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type SendSticker = B::SendSticker
fn send_sticker<C>(&self, chat_id: C, sticker: InputFile) -> Self::SendSticker where
C: Into<ChatId>,
[src]
C: Into<ChatId>,
type GetStickerSet = B::GetStickerSet
fn get_sticker_set<N>(&self, name: N) -> Self::GetStickerSet where
N: Into<String>,
[src]
N: Into<String>,
type UploadStickerFile = B::UploadStickerFile
fn upload_sticker_file(
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
[src]
&self,
user_id: i64,
png_sticker: InputFile
) -> Self::UploadStickerFile
type CreateNewStickerSet = B::CreateNewStickerSet
fn create_new_sticker_set<N, T, E>(
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSet where
N: Into<String>,
T: Into<String>,
E: Into<String>,
type AddStickerToSet = B::AddStickerToSet
fn add_sticker_to_set<N, E>(
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
[src]
&self,
user_id: i64,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSet where
N: Into<String>,
E: Into<String>,
type SetStickerPositionInSet = B::SetStickerPositionInSet
fn set_sticker_position_in_set<S>(
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
[src]
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSet where
S: Into<String>,
type DeleteStickerFromSet = B::DeleteStickerFromSet
fn delete_sticker_from_set<S>(&self, sticker: S) -> Self::DeleteStickerFromSet where
S: Into<String>,
[src]
S: Into<String>,
type SetStickerSetThumb = B::SetStickerSetThumb
fn set_sticker_set_thumb<N>(
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
[src]
&self,
name: N,
user_id: i64
) -> Self::SetStickerSetThumb where
N: Into<String>,
type SendInvoice = B::SendInvoice
fn send_invoice<T, D, Pa, P, S, C, Pri>(
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
[src]
&self,
chat_id: i32,
title: T,
description: D,
payload: Pa,
provider_token: P,
start_parameter: S,
currency: C,
prices: Pri
) -> Self::SendInvoice where
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
S: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
type AnswerShippingQuery = B::AnswerShippingQuery
fn answer_shipping_query<S>(
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
[src]
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuery where
S: Into<String>,
type AnswerPreCheckoutQuery = B::AnswerPreCheckoutQuery
fn answer_pre_checkout_query<P>(
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
[src]
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuery where
P: Into<String>,
type SetPassportDataErrors = B::SetPassportDataErrors
fn set_passport_data_errors<E>(
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
[src]
&self,
user_id: i64,
errors: E
) -> Self::SetPassportDataErrors where
E: IntoIterator<Item = PassportElementError>,
type SendGame = B::SendGame
fn send_game<G>(&self, chat_id: u32, game_short_name: G) -> Self::SendGame where
G: Into<String>,
[src]
G: Into<String>,
type SetGameScore = B::SetGameScore
fn set_game_score(
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
[src]
&self,
user_id: i64,
score: u64,
chat_id: u32,
message_id: i64
) -> Self::SetGameScore
type SetGameScoreInline = B::SetGameScoreInline
fn set_game_score_inline<I>(
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
[src]
&self,
user_id: i64,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInline where
I: Into<String>,
type GetGameHighScores = B::GetGameHighScores
fn get_game_high_scores<T>(
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,
[src]
&self,
user_id: i64,
target: T
) -> Self::GetGameHighScores where
T: Into<TargetMessage>,