Struct teloxide_core::adaptors::trace::Trace
source · pub struct Trace<B> { /* private fields */ }
Available on crate feature
trace_adaptor
only.Expand description
Trace requests and responses.
This is a tool for debugging.
Depending on Settings
and log
facade this adaptor may output messages
like these:
TRACE teloxide_core::adaptors::trace > Sending `SendDice` request
TRACE teloxide_core::adaptors::trace > Got response from `SendDice` request
TRACE teloxide_core::adaptors::trace > Sending `SendDice` request: SendDice { chat_id: Id(0), emoji: Some(Dice), disable_notification: None, reply_to_message_id: None, allow_sending_without_reply: None, reply_markup: None }
TRACE teloxide_core::adaptors::trace > Got response from `SendDice` request: Ok(Message { id: 13812, date: 1625926524, chat: Chat { .. }, via_bot: None, kind: Dice(MessageDice { dice: Dice { emoji: Dice, value: 3 } }) })
Implementations§
Trait Implementations§
source§impl<B> Requester for Trace<B>where
B: Requester,
impl<B> Requester for Trace<B>where B: Requester,
type GetMe = TraceRequest<<B as Requester>::GetMe>
type LogOut = TraceRequest<<B as Requester>::LogOut>
type Close = TraceRequest<<B as Requester>::Close>
type GetUpdates = TraceRequest<<B as Requester>::GetUpdates>
source§fn get_updates(&self) -> Self::GetUpdates
fn get_updates(&self) -> Self::GetUpdates
For Telegram documentation see
GetUpdates
.type SetWebhook = TraceRequest<<B as Requester>::SetWebhook>
source§fn set_webhook(&self, url: Url) -> Self::SetWebhook
fn set_webhook(&self, url: Url) -> Self::SetWebhook
For Telegram documentation see
SetWebhook
.type DeleteWebhook = TraceRequest<<B as Requester>::DeleteWebhook>
source§fn delete_webhook(&self) -> Self::DeleteWebhook
fn delete_webhook(&self) -> Self::DeleteWebhook
For Telegram documentation see
DeleteWebhook
.type GetWebhookInfo = TraceRequest<<B as Requester>::GetWebhookInfo>
source§fn get_webhook_info(&self) -> Self::GetWebhookInfo
fn get_webhook_info(&self) -> Self::GetWebhookInfo
For Telegram documentation see
GetWebhookInfo
.type ForwardMessage = TraceRequest<<B as Requester>::ForwardMessage>
source§fn forward_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: MessageId
) -> Self::ForwardMessagewhere
C: Into<Recipient>,
F: Into<Recipient>,
fn forward_message<C, F>( &self, chat_id: C, from_chat_id: F, message_id: MessageId ) -> Self::ForwardMessagewhere C: Into<Recipient>, F: Into<Recipient>,
For Telegram documentation see
ForwardMessage
.type CopyMessage = TraceRequest<<B as Requester>::CopyMessage>
source§fn copy_message<C, F>(
&self,
chat_id: C,
from_chat_id: F,
message_id: MessageId
) -> Self::CopyMessagewhere
C: Into<Recipient>,
F: Into<Recipient>,
fn copy_message<C, F>( &self, chat_id: C, from_chat_id: F, message_id: MessageId ) -> Self::CopyMessagewhere C: Into<Recipient>, F: Into<Recipient>,
For Telegram documentation see
CopyMessage
.type SendMessage = TraceRequest<<B as Requester>::SendMessage>
source§fn send_message<C, T>(&self, chat_id: C, text: T) -> Self::SendMessagewhere
C: Into<Recipient>,
T: Into<String>,
fn send_message<C, T>(&self, chat_id: C, text: T) -> Self::SendMessagewhere C: Into<Recipient>, T: Into<String>,
For Telegram documentation see
SendMessage
.type SendPhoto = TraceRequest<<B as Requester>::SendPhoto>
source§fn send_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SendPhotowhere
C: Into<Recipient>,
fn send_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SendPhotowhere C: Into<Recipient>,
For Telegram documentation see
SendPhoto
.type SendAudio = TraceRequest<<B as Requester>::SendAudio>
source§fn send_audio<C>(&self, chat_id: C, audio: InputFile) -> Self::SendAudiowhere
C: Into<Recipient>,
fn send_audio<C>(&self, chat_id: C, audio: InputFile) -> Self::SendAudiowhere C: Into<Recipient>,
For Telegram documentation see
SendAudio
.type SendDocument = TraceRequest<<B as Requester>::SendDocument>
source§fn send_document<C>(&self, chat_id: C, document: InputFile) -> Self::SendDocumentwhere
C: Into<Recipient>,
fn send_document<C>(&self, chat_id: C, document: InputFile) -> Self::SendDocumentwhere C: Into<Recipient>,
For Telegram documentation see
SendDocument
.type SendVideo = TraceRequest<<B as Requester>::SendVideo>
source§fn send_video<C>(&self, chat_id: C, video: InputFile) -> Self::SendVideowhere
C: Into<Recipient>,
fn send_video<C>(&self, chat_id: C, video: InputFile) -> Self::SendVideowhere C: Into<Recipient>,
For Telegram documentation see
SendVideo
.type SendAnimation = TraceRequest<<B as Requester>::SendAnimation>
source§fn send_animation<C>(
&self,
chat_id: C,
animation: InputFile
) -> Self::SendAnimationwhere
C: Into<Recipient>,
fn send_animation<C>( &self, chat_id: C, animation: InputFile ) -> Self::SendAnimationwhere C: Into<Recipient>,
For Telegram documentation see
SendAnimation
.type SendVoice = TraceRequest<<B as Requester>::SendVoice>
source§fn send_voice<C>(&self, chat_id: C, voice: InputFile) -> Self::SendVoicewhere
C: Into<Recipient>,
fn send_voice<C>(&self, chat_id: C, voice: InputFile) -> Self::SendVoicewhere C: Into<Recipient>,
For Telegram documentation see
SendVoice
.type SendVideoNote = TraceRequest<<B as Requester>::SendVideoNote>
source§fn send_video_note<C>(
&self,
chat_id: C,
video_note: InputFile
) -> Self::SendVideoNotewhere
C: Into<Recipient>,
fn send_video_note<C>( &self, chat_id: C, video_note: InputFile ) -> Self::SendVideoNotewhere C: Into<Recipient>,
For Telegram documentation see
SendVideoNote
.type SendMediaGroup = TraceRequest<<B as Requester>::SendMediaGroup>
source§fn send_media_group<C, M>(&self, chat_id: C, media: M) -> Self::SendMediaGroupwhere
C: Into<Recipient>,
M: IntoIterator<Item = InputMedia>,
fn send_media_group<C, M>(&self, chat_id: C, media: M) -> Self::SendMediaGroupwhere C: Into<Recipient>, M: IntoIterator<Item = InputMedia>,
For Telegram documentation see
SendMediaGroup
.type SendLocation = TraceRequest<<B as Requester>::SendLocation>
source§fn send_location<C>(
&self,
chat_id: C,
latitude: f64,
longitude: f64
) -> Self::SendLocationwhere
C: Into<Recipient>,
fn send_location<C>( &self, chat_id: C, latitude: f64, longitude: f64 ) -> Self::SendLocationwhere C: Into<Recipient>,
For Telegram documentation see
SendLocation
.type EditMessageLiveLocation = TraceRequest<<B as Requester>::EditMessageLiveLocation>
source§fn edit_message_live_location<C>(
&self,
chat_id: C,
message_id: MessageId,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationwhere
C: Into<Recipient>,
fn edit_message_live_location<C>( &self, chat_id: C, message_id: MessageId, latitude: f64, longitude: f64 ) -> Self::EditMessageLiveLocationwhere C: Into<Recipient>,
For Telegram documentation see
EditMessageLiveLocation
.type EditMessageLiveLocationInline = TraceRequest<<B as Requester>::EditMessageLiveLocationInline>
source§fn edit_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::EditMessageLiveLocationInlinewhere
I: Into<String>,
fn edit_message_live_location_inline<I>( &self, inline_message_id: I, latitude: f64, longitude: f64 ) -> Self::EditMessageLiveLocationInlinewhere I: Into<String>,
For Telegram documentation see
EditMessageLiveLocationInline
.type StopMessageLiveLocation = TraceRequest<<B as Requester>::StopMessageLiveLocation>
source§fn stop_message_live_location<C>(
&self,
chat_id: C,
message_id: MessageId,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationwhere
C: Into<Recipient>,
fn stop_message_live_location<C>( &self, chat_id: C, message_id: MessageId, latitude: f64, longitude: f64 ) -> Self::StopMessageLiveLocationwhere C: Into<Recipient>,
For Telegram documentation see
StopMessageLiveLocation
.type StopMessageLiveLocationInline = TraceRequest<<B as Requester>::StopMessageLiveLocationInline>
source§fn stop_message_live_location_inline<I>(
&self,
inline_message_id: I,
latitude: f64,
longitude: f64
) -> Self::StopMessageLiveLocationInlinewhere
I: Into<String>,
fn stop_message_live_location_inline<I>( &self, inline_message_id: I, latitude: f64, longitude: f64 ) -> Self::StopMessageLiveLocationInlinewhere I: Into<String>,
For Telegram documentation see
StopMessageLiveLocationInline
.type SendVenue = TraceRequest<<B as Requester>::SendVenue>
source§fn send_venue<C, T, A>(
&self,
chat_id: C,
latitude: f64,
longitude: f64,
title: T,
address: A
) -> Self::SendVenuewhere
C: Into<Recipient>,
T: Into<String>,
A: Into<String>,
fn send_venue<C, T, A>( &self, chat_id: C, latitude: f64, longitude: f64, title: T, address: A ) -> Self::SendVenuewhere C: Into<Recipient>, T: Into<String>, A: Into<String>,
For Telegram documentation see
SendVenue
.type SendContact = TraceRequest<<B as Requester>::SendContact>
source§fn send_contact<C, P, F>(
&self,
chat_id: C,
phone_number: P,
first_name: F
) -> Self::SendContactwhere
C: Into<Recipient>,
P: Into<String>,
F: Into<String>,
fn send_contact<C, P, F>( &self, chat_id: C, phone_number: P, first_name: F ) -> Self::SendContactwhere C: Into<Recipient>, P: Into<String>, F: Into<String>,
For Telegram documentation see
SendContact
.type SendPoll = TraceRequest<<B as Requester>::SendPoll>
source§fn send_poll<C, Q, O>(&self, chat_id: C, question: Q, options: O) -> Self::SendPollwhere
C: Into<Recipient>,
Q: Into<String>,
O: IntoIterator<Item = String>,
fn send_poll<C, Q, O>(&self, chat_id: C, question: Q, options: O) -> Self::SendPollwhere C: Into<Recipient>, Q: Into<String>, O: IntoIterator<Item = String>,
For Telegram documentation see
SendPoll
.type SendDice = TraceRequest<<B as Requester>::SendDice>
source§fn send_dice<C>(&self, chat_id: C) -> Self::SendDicewhere
C: Into<Recipient>,
fn send_dice<C>(&self, chat_id: C) -> Self::SendDicewhere C: Into<Recipient>,
For Telegram documentation see
SendDice
.type SendChatAction = TraceRequest<<B as Requester>::SendChatAction>
source§fn send_chat_action<C>(
&self,
chat_id: C,
action: ChatAction
) -> Self::SendChatActionwhere
C: Into<Recipient>,
fn send_chat_action<C>( &self, chat_id: C, action: ChatAction ) -> Self::SendChatActionwhere C: Into<Recipient>,
For Telegram documentation see
SendChatAction
.type GetUserProfilePhotos = TraceRequest<<B as Requester>::GetUserProfilePhotos>
source§fn get_user_profile_photos(&self, user_id: UserId) -> Self::GetUserProfilePhotos
fn get_user_profile_photos(&self, user_id: UserId) -> Self::GetUserProfilePhotos
For Telegram documentation see
GetUserProfilePhotos
.type GetFile = TraceRequest<<B as Requester>::GetFile>
source§fn get_file<F>(&self, file_id: F) -> Self::GetFilewhere
F: Into<String>,
fn get_file<F>(&self, file_id: F) -> Self::GetFilewhere F: Into<String>,
For Telegram documentation see
GetFile
.type KickChatMember = TraceRequest<<B as Requester>::KickChatMember>
source§fn kick_chat_member<C>(&self, chat_id: C, user_id: UserId) -> Self::KickChatMemberwhere
C: Into<Recipient>,
fn kick_chat_member<C>(&self, chat_id: C, user_id: UserId) -> Self::KickChatMemberwhere C: Into<Recipient>,
For Telegram documentation see
KickChatMember
.type BanChatMember = TraceRequest<<B as Requester>::BanChatMember>
source§fn ban_chat_member<C>(&self, chat_id: C, user_id: UserId) -> Self::BanChatMemberwhere
C: Into<Recipient>,
fn ban_chat_member<C>(&self, chat_id: C, user_id: UserId) -> Self::BanChatMemberwhere C: Into<Recipient>,
For Telegram documentation see
BanChatMember
.type UnbanChatMember = TraceRequest<<B as Requester>::UnbanChatMember>
source§fn unban_chat_member<C>(
&self,
chat_id: C,
user_id: UserId
) -> Self::UnbanChatMemberwhere
C: Into<Recipient>,
fn unban_chat_member<C>( &self, chat_id: C, user_id: UserId ) -> Self::UnbanChatMemberwhere C: Into<Recipient>,
For Telegram documentation see
UnbanChatMember
.type RestrictChatMember = TraceRequest<<B as Requester>::RestrictChatMember>
source§fn restrict_chat_member<C>(
&self,
chat_id: C,
user_id: UserId,
permissions: ChatPermissions
) -> Self::RestrictChatMemberwhere
C: Into<Recipient>,
fn restrict_chat_member<C>( &self, chat_id: C, user_id: UserId, permissions: ChatPermissions ) -> Self::RestrictChatMemberwhere C: Into<Recipient>,
For Telegram documentation see
RestrictChatMember
.type PromoteChatMember = TraceRequest<<B as Requester>::PromoteChatMember>
source§fn promote_chat_member<C>(
&self,
chat_id: C,
user_id: UserId
) -> Self::PromoteChatMemberwhere
C: Into<Recipient>,
fn promote_chat_member<C>( &self, chat_id: C, user_id: UserId ) -> Self::PromoteChatMemberwhere C: Into<Recipient>,
For Telegram documentation see
PromoteChatMember
.type SetChatAdministratorCustomTitle = TraceRequest<<B as Requester>::SetChatAdministratorCustomTitle>
source§fn set_chat_administrator_custom_title<Ch, C>(
&self,
chat_id: Ch,
user_id: UserId,
custom_title: C
) -> Self::SetChatAdministratorCustomTitlewhere
Ch: Into<Recipient>,
C: Into<String>,
fn set_chat_administrator_custom_title<Ch, C>( &self, chat_id: Ch, user_id: UserId, custom_title: C ) -> Self::SetChatAdministratorCustomTitlewhere Ch: Into<Recipient>, C: Into<String>,
For Telegram documentation see
SetChatAdministratorCustomTitle
.type BanChatSenderChat = TraceRequest<<B as Requester>::BanChatSenderChat>
source§fn ban_chat_sender_chat<C, S>(
&self,
chat_id: C,
sender_chat_id: S
) -> Self::BanChatSenderChatwhere
C: Into<Recipient>,
S: Into<ChatId>,
fn ban_chat_sender_chat<C, S>( &self, chat_id: C, sender_chat_id: S ) -> Self::BanChatSenderChatwhere C: Into<Recipient>, S: Into<ChatId>,
For Telegram documentation see
BanChatSenderChat
.type UnbanChatSenderChat = TraceRequest<<B as Requester>::UnbanChatSenderChat>
source§fn unban_chat_sender_chat<C, S>(
&self,
chat_id: C,
sender_chat_id: S
) -> Self::UnbanChatSenderChatwhere
C: Into<Recipient>,
S: Into<ChatId>,
fn unban_chat_sender_chat<C, S>( &self, chat_id: C, sender_chat_id: S ) -> Self::UnbanChatSenderChatwhere C: Into<Recipient>, S: Into<ChatId>,
For Telegram documentation see
UnbanChatSenderChat
.type SetChatPermissions = TraceRequest<<B as Requester>::SetChatPermissions>
source§fn set_chat_permissions<C>(
&self,
chat_id: C,
permissions: ChatPermissions
) -> Self::SetChatPermissionswhere
C: Into<Recipient>,
fn set_chat_permissions<C>( &self, chat_id: C, permissions: ChatPermissions ) -> Self::SetChatPermissionswhere C: Into<Recipient>,
For Telegram documentation see
SetChatPermissions
.type ExportChatInviteLink = TraceRequest<<B as Requester>::ExportChatInviteLink>
source§fn export_chat_invite_link<C>(&self, chat_id: C) -> Self::ExportChatInviteLinkwhere
C: Into<Recipient>,
fn export_chat_invite_link<C>(&self, chat_id: C) -> Self::ExportChatInviteLinkwhere C: Into<Recipient>,
For Telegram documentation see
ExportChatInviteLink
.type CreateChatInviteLink = TraceRequest<<B as Requester>::CreateChatInviteLink>
source§fn create_chat_invite_link<C>(&self, chat_id: C) -> Self::CreateChatInviteLinkwhere
C: Into<Recipient>,
fn create_chat_invite_link<C>(&self, chat_id: C) -> Self::CreateChatInviteLinkwhere C: Into<Recipient>,
For Telegram documentation see
CreateChatInviteLink
.type EditChatInviteLink = TraceRequest<<B as Requester>::EditChatInviteLink>
source§fn edit_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::EditChatInviteLinkwhere
C: Into<Recipient>,
I: Into<String>,
fn edit_chat_invite_link<C, I>( &self, chat_id: C, invite_link: I ) -> Self::EditChatInviteLinkwhere C: Into<Recipient>, I: Into<String>,
For Telegram documentation see
EditChatInviteLink
.type RevokeChatInviteLink = TraceRequest<<B as Requester>::RevokeChatInviteLink>
source§fn revoke_chat_invite_link<C, I>(
&self,
chat_id: C,
invite_link: I
) -> Self::RevokeChatInviteLinkwhere
C: Into<Recipient>,
I: Into<String>,
fn revoke_chat_invite_link<C, I>( &self, chat_id: C, invite_link: I ) -> Self::RevokeChatInviteLinkwhere C: Into<Recipient>, I: Into<String>,
For Telegram documentation see
RevokeChatInviteLink
.type SetChatPhoto = TraceRequest<<B as Requester>::SetChatPhoto>
source§fn set_chat_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SetChatPhotowhere
C: Into<Recipient>,
fn set_chat_photo<C>(&self, chat_id: C, photo: InputFile) -> Self::SetChatPhotowhere C: Into<Recipient>,
For Telegram documentation see
SetChatPhoto
.type DeleteChatPhoto = TraceRequest<<B as Requester>::DeleteChatPhoto>
source§fn delete_chat_photo<C>(&self, chat_id: C) -> Self::DeleteChatPhotowhere
C: Into<Recipient>,
fn delete_chat_photo<C>(&self, chat_id: C) -> Self::DeleteChatPhotowhere C: Into<Recipient>,
For Telegram documentation see
DeleteChatPhoto
.type SetChatTitle = TraceRequest<<B as Requester>::SetChatTitle>
source§fn set_chat_title<C, T>(&self, chat_id: C, title: T) -> Self::SetChatTitlewhere
C: Into<Recipient>,
T: Into<String>,
fn set_chat_title<C, T>(&self, chat_id: C, title: T) -> Self::SetChatTitlewhere C: Into<Recipient>, T: Into<String>,
For Telegram documentation see
SetChatTitle
.type SetChatDescription = TraceRequest<<B as Requester>::SetChatDescription>
source§fn set_chat_description<C>(&self, chat_id: C) -> Self::SetChatDescriptionwhere
C: Into<Recipient>,
fn set_chat_description<C>(&self, chat_id: C) -> Self::SetChatDescriptionwhere C: Into<Recipient>,
For Telegram documentation see
SetChatDescription
.type PinChatMessage = TraceRequest<<B as Requester>::PinChatMessage>
source§fn pin_chat_message<C>(
&self,
chat_id: C,
message_id: MessageId
) -> Self::PinChatMessagewhere
C: Into<Recipient>,
fn pin_chat_message<C>( &self, chat_id: C, message_id: MessageId ) -> Self::PinChatMessagewhere C: Into<Recipient>,
For Telegram documentation see
PinChatMessage
.type UnpinChatMessage = TraceRequest<<B as Requester>::UnpinChatMessage>
source§fn unpin_chat_message<C>(&self, chat_id: C) -> Self::UnpinChatMessagewhere
C: Into<Recipient>,
fn unpin_chat_message<C>(&self, chat_id: C) -> Self::UnpinChatMessagewhere C: Into<Recipient>,
For Telegram documentation see
UnpinChatMessage
.type UnpinAllChatMessages = TraceRequest<<B as Requester>::UnpinAllChatMessages>
source§fn unpin_all_chat_messages<C>(&self, chat_id: C) -> Self::UnpinAllChatMessageswhere
C: Into<Recipient>,
fn unpin_all_chat_messages<C>(&self, chat_id: C) -> Self::UnpinAllChatMessageswhere C: Into<Recipient>,
For Telegram documentation see
UnpinAllChatMessages
.type LeaveChat = TraceRequest<<B as Requester>::LeaveChat>
source§fn leave_chat<C>(&self, chat_id: C) -> Self::LeaveChatwhere
C: Into<Recipient>,
fn leave_chat<C>(&self, chat_id: C) -> Self::LeaveChatwhere C: Into<Recipient>,
For Telegram documentation see
LeaveChat
.type GetChat = TraceRequest<<B as Requester>::GetChat>
source§fn get_chat<C>(&self, chat_id: C) -> Self::GetChatwhere
C: Into<Recipient>,
fn get_chat<C>(&self, chat_id: C) -> Self::GetChatwhere C: Into<Recipient>,
For Telegram documentation see
GetChat
.type GetChatAdministrators = TraceRequest<<B as Requester>::GetChatAdministrators>
source§fn get_chat_administrators<C>(&self, chat_id: C) -> Self::GetChatAdministratorswhere
C: Into<Recipient>,
fn get_chat_administrators<C>(&self, chat_id: C) -> Self::GetChatAdministratorswhere C: Into<Recipient>,
For Telegram documentation see
GetChatAdministrators
.type GetChatMembersCount = TraceRequest<<B as Requester>::GetChatMembersCount>
source§fn get_chat_members_count<C>(&self, chat_id: C) -> Self::GetChatMembersCountwhere
C: Into<Recipient>,
fn get_chat_members_count<C>(&self, chat_id: C) -> Self::GetChatMembersCountwhere C: Into<Recipient>,
For Telegram documentation see
GetChatMembersCount
.type GetChatMemberCount = TraceRequest<<B as Requester>::GetChatMemberCount>
source§fn get_chat_member_count<C>(&self, chat_id: C) -> Self::GetChatMemberCountwhere
C: Into<Recipient>,
fn get_chat_member_count<C>(&self, chat_id: C) -> Self::GetChatMemberCountwhere C: Into<Recipient>,
For Telegram documentation see
GetChatMemberCount
.type GetChatMember = TraceRequest<<B as Requester>::GetChatMember>
source§fn get_chat_member<C>(&self, chat_id: C, user_id: UserId) -> Self::GetChatMemberwhere
C: Into<Recipient>,
fn get_chat_member<C>(&self, chat_id: C, user_id: UserId) -> Self::GetChatMemberwhere C: Into<Recipient>,
For Telegram documentation see
GetChatMember
.type SetChatStickerSet = TraceRequest<<B as Requester>::SetChatStickerSet>
source§fn set_chat_sticker_set<C, S>(
&self,
chat_id: C,
sticker_set_name: S
) -> Self::SetChatStickerSetwhere
C: Into<Recipient>,
S: Into<String>,
fn set_chat_sticker_set<C, S>( &self, chat_id: C, sticker_set_name: S ) -> Self::SetChatStickerSetwhere C: Into<Recipient>, S: Into<String>,
For Telegram documentation see
SetChatStickerSet
.type DeleteChatStickerSet = TraceRequest<<B as Requester>::DeleteChatStickerSet>
source§fn delete_chat_sticker_set<C>(&self, chat_id: C) -> Self::DeleteChatStickerSetwhere
C: Into<Recipient>,
fn delete_chat_sticker_set<C>(&self, chat_id: C) -> Self::DeleteChatStickerSetwhere C: Into<Recipient>,
For Telegram documentation see
DeleteChatStickerSet
.type GetForumTopicIconStickers = TraceRequest<<B as Requester>::GetForumTopicIconStickers>
source§fn get_forum_topic_icon_stickers(&self) -> Self::GetForumTopicIconStickers
fn get_forum_topic_icon_stickers(&self) -> Self::GetForumTopicIconStickers
For Telegram documentation see
GetForumTopicIconStickers
.type CreateForumTopic = TraceRequest<<B as Requester>::CreateForumTopic>
source§fn create_forum_topic<C, N, I>(
&self,
chat_id: C,
name: N,
icon_color: u32,
icon_custom_emoji_id: I
) -> Self::CreateForumTopicwhere
C: Into<Recipient>,
N: Into<String>,
I: Into<String>,
fn create_forum_topic<C, N, I>( &self, chat_id: C, name: N, icon_color: u32, icon_custom_emoji_id: I ) -> Self::CreateForumTopicwhere C: Into<Recipient>, N: Into<String>, I: Into<String>,
For Telegram documentation see
CreateForumTopic
.type EditForumTopic = TraceRequest<<B as Requester>::EditForumTopic>
source§fn edit_forum_topic<C>(
&self,
chat_id: C,
message_thread_id: i32
) -> Self::EditForumTopicwhere
C: Into<Recipient>,
fn edit_forum_topic<C>( &self, chat_id: C, message_thread_id: i32 ) -> Self::EditForumTopicwhere C: Into<Recipient>,
For Telegram documentation see
EditForumTopic
.type CloseForumTopic = TraceRequest<<B as Requester>::CloseForumTopic>
source§fn close_forum_topic<C>(
&self,
chat_id: C,
message_thread_id: i32
) -> Self::CloseForumTopicwhere
C: Into<Recipient>,
fn close_forum_topic<C>( &self, chat_id: C, message_thread_id: i32 ) -> Self::CloseForumTopicwhere C: Into<Recipient>,
For Telegram documentation see
CloseForumTopic
.type ReopenForumTopic = TraceRequest<<B as Requester>::ReopenForumTopic>
source§fn reopen_forum_topic<C>(
&self,
chat_id: C,
message_thread_id: i32
) -> Self::ReopenForumTopicwhere
C: Into<Recipient>,
fn reopen_forum_topic<C>( &self, chat_id: C, message_thread_id: i32 ) -> Self::ReopenForumTopicwhere C: Into<Recipient>,
For Telegram documentation see
ReopenForumTopic
.type DeleteForumTopic = TraceRequest<<B as Requester>::DeleteForumTopic>
source§fn delete_forum_topic<C>(
&self,
chat_id: C,
message_thread_id: i32
) -> Self::DeleteForumTopicwhere
C: Into<Recipient>,
fn delete_forum_topic<C>( &self, chat_id: C, message_thread_id: i32 ) -> Self::DeleteForumTopicwhere C: Into<Recipient>,
For Telegram documentation see
DeleteForumTopic
.type UnpinAllForumTopicMessages = TraceRequest<<B as Requester>::UnpinAllForumTopicMessages>
source§fn unpin_all_forum_topic_messages<C>(
&self,
chat_id: C,
message_thread_id: i32
) -> Self::UnpinAllForumTopicMessageswhere
C: Into<Recipient>,
fn unpin_all_forum_topic_messages<C>( &self, chat_id: C, message_thread_id: i32 ) -> Self::UnpinAllForumTopicMessageswhere C: Into<Recipient>,
For Telegram documentation see
UnpinAllForumTopicMessages
.type EditGeneralForumTopic = TraceRequest<<B as Requester>::EditGeneralForumTopic>
source§fn edit_general_forum_topic<C, N>(
&self,
chat_id: C,
name: N
) -> Self::EditGeneralForumTopicwhere
C: Into<Recipient>,
N: Into<String>,
fn edit_general_forum_topic<C, N>( &self, chat_id: C, name: N ) -> Self::EditGeneralForumTopicwhere C: Into<Recipient>, N: Into<String>,
For Telegram documentation see
EditGeneralForumTopic
.type CloseGeneralForumTopic = TraceRequest<<B as Requester>::CloseGeneralForumTopic>
source§fn close_general_forum_topic<C>(
&self,
chat_id: C
) -> Self::CloseGeneralForumTopicwhere
C: Into<Recipient>,
fn close_general_forum_topic<C>( &self, chat_id: C ) -> Self::CloseGeneralForumTopicwhere C: Into<Recipient>,
For Telegram documentation see
CloseGeneralForumTopic
.type ReopenGeneralForumTopic = TraceRequest<<B as Requester>::ReopenGeneralForumTopic>
source§fn reopen_general_forum_topic<C>(
&self,
chat_id: C
) -> Self::ReopenGeneralForumTopicwhere
C: Into<Recipient>,
fn reopen_general_forum_topic<C>( &self, chat_id: C ) -> Self::ReopenGeneralForumTopicwhere C: Into<Recipient>,
For Telegram documentation see
ReopenGeneralForumTopic
.type HideGeneralForumTopic = TraceRequest<<B as Requester>::HideGeneralForumTopic>
source§fn hide_general_forum_topic<C>(&self, chat_id: C) -> Self::HideGeneralForumTopicwhere
C: Into<Recipient>,
fn hide_general_forum_topic<C>(&self, chat_id: C) -> Self::HideGeneralForumTopicwhere C: Into<Recipient>,
For Telegram documentation see
HideGeneralForumTopic
.type UnhideGeneralForumTopic = TraceRequest<<B as Requester>::UnhideGeneralForumTopic>
source§fn unhide_general_forum_topic<C>(
&self,
chat_id: C
) -> Self::UnhideGeneralForumTopicwhere
C: Into<Recipient>,
fn unhide_general_forum_topic<C>( &self, chat_id: C ) -> Self::UnhideGeneralForumTopicwhere C: Into<Recipient>,
For Telegram documentation see
UnhideGeneralForumTopic
.type AnswerCallbackQuery = TraceRequest<<B as Requester>::AnswerCallbackQuery>
source§fn answer_callback_query<C>(
&self,
callback_query_id: C
) -> Self::AnswerCallbackQuerywhere
C: Into<String>,
fn answer_callback_query<C>( &self, callback_query_id: C ) -> Self::AnswerCallbackQuerywhere C: Into<String>,
For Telegram documentation see
AnswerCallbackQuery
.type SetMyCommands = TraceRequest<<B as Requester>::SetMyCommands>
source§fn set_my_commands<C>(&self, commands: C) -> Self::SetMyCommandswhere
C: IntoIterator<Item = BotCommand>,
fn set_my_commands<C>(&self, commands: C) -> Self::SetMyCommandswhere C: IntoIterator<Item = BotCommand>,
For Telegram documentation see
SetMyCommands
.type GetMyCommands = TraceRequest<<B as Requester>::GetMyCommands>
source§fn get_my_commands(&self) -> Self::GetMyCommands
fn get_my_commands(&self) -> Self::GetMyCommands
For Telegram documentation see
GetMyCommands
.type SetChatMenuButton = TraceRequest<<B as Requester>::SetChatMenuButton>
For Telegram documentation see
SetChatMenuButton
.type GetChatMenuButton = TraceRequest<<B as Requester>::GetChatMenuButton>
For Telegram documentation see
GetChatMenuButton
.type SetMyDefaultAdministratorRights = TraceRequest<<B as Requester>::SetMyDefaultAdministratorRights>
source§fn set_my_default_administrator_rights(
&self
) -> Self::SetMyDefaultAdministratorRights
fn set_my_default_administrator_rights( &self ) -> Self::SetMyDefaultAdministratorRights
For Telegram documentation see
SetMyDefaultAdministratorRights
.type GetMyDefaultAdministratorRights = TraceRequest<<B as Requester>::GetMyDefaultAdministratorRights>
source§fn get_my_default_administrator_rights(
&self
) -> Self::GetMyDefaultAdministratorRights
fn get_my_default_administrator_rights( &self ) -> Self::GetMyDefaultAdministratorRights
For Telegram documentation see
GetMyDefaultAdministratorRights
.type DeleteMyCommands = TraceRequest<<B as Requester>::DeleteMyCommands>
source§fn delete_my_commands(&self) -> Self::DeleteMyCommands
fn delete_my_commands(&self) -> Self::DeleteMyCommands
For Telegram documentation see
DeleteMyCommands
.type AnswerInlineQuery = TraceRequest<<B as Requester>::AnswerInlineQuery>
source§fn answer_inline_query<I, R>(
&self,
inline_query_id: I,
results: R
) -> Self::AnswerInlineQuerywhere
I: Into<String>,
R: IntoIterator<Item = InlineQueryResult>,
fn answer_inline_query<I, R>( &self, inline_query_id: I, results: R ) -> Self::AnswerInlineQuerywhere I: Into<String>, R: IntoIterator<Item = InlineQueryResult>,
For Telegram documentation see
AnswerInlineQuery
.type AnswerWebAppQuery = TraceRequest<<B as Requester>::AnswerWebAppQuery>
source§fn answer_web_app_query<W>(
&self,
web_app_query_id: W,
result: InlineQueryResult
) -> Self::AnswerWebAppQuerywhere
W: Into<String>,
fn answer_web_app_query<W>( &self, web_app_query_id: W, result: InlineQueryResult ) -> Self::AnswerWebAppQuerywhere W: Into<String>,
For Telegram documentation see
AnswerWebAppQuery
.type EditMessageText = TraceRequest<<B as Requester>::EditMessageText>
source§fn edit_message_text<C, T>(
&self,
chat_id: C,
message_id: MessageId,
text: T
) -> Self::EditMessageTextwhere
C: Into<Recipient>,
T: Into<String>,
fn edit_message_text<C, T>( &self, chat_id: C, message_id: MessageId, text: T ) -> Self::EditMessageTextwhere C: Into<Recipient>, T: Into<String>,
For Telegram documentation see
EditMessageText
.type EditMessageTextInline = TraceRequest<<B as Requester>::EditMessageTextInline>
source§fn edit_message_text_inline<I, T>(
&self,
inline_message_id: I,
text: T
) -> Self::EditMessageTextInlinewhere
I: Into<String>,
T: Into<String>,
fn edit_message_text_inline<I, T>( &self, inline_message_id: I, text: T ) -> Self::EditMessageTextInlinewhere I: Into<String>, T: Into<String>,
For Telegram documentation see
EditMessageTextInline
.type EditMessageCaption = TraceRequest<<B as Requester>::EditMessageCaption>
For Telegram documentation see
EditMessageCaption
.type EditMessageCaptionInline = TraceRequest<<B as Requester>::EditMessageCaptionInline>
For Telegram documentation see
EditMessageCaptionInline
.type EditMessageMedia = TraceRequest<<B as Requester>::EditMessageMedia>
source§fn edit_message_media<C>(
&self,
chat_id: C,
message_id: MessageId,
media: InputMedia
) -> Self::EditMessageMediawhere
C: Into<Recipient>,
fn edit_message_media<C>( &self, chat_id: C, message_id: MessageId, media: InputMedia ) -> Self::EditMessageMediawhere C: Into<Recipient>,
For Telegram documentation see
EditMessageMedia
.type EditMessageMediaInline = TraceRequest<<B as Requester>::EditMessageMediaInline>
source§fn edit_message_media_inline<I>(
&self,
inline_message_id: I,
media: InputMedia
) -> Self::EditMessageMediaInlinewhere
I: Into<String>,
fn edit_message_media_inline<I>( &self, inline_message_id: I, media: InputMedia ) -> Self::EditMessageMediaInlinewhere I: Into<String>,
For Telegram documentation see
EditMessageMediaInline
.type EditMessageReplyMarkup = TraceRequest<<B as Requester>::EditMessageReplyMarkup>
source§fn edit_message_reply_markup<C>(
&self,
chat_id: C,
message_id: MessageId
) -> Self::EditMessageReplyMarkupwhere
C: Into<Recipient>,
fn edit_message_reply_markup<C>( &self, chat_id: C, message_id: MessageId ) -> Self::EditMessageReplyMarkupwhere C: Into<Recipient>,
For Telegram documentation see
EditMessageReplyMarkup
.type EditMessageReplyMarkupInline = TraceRequest<<B as Requester>::EditMessageReplyMarkupInline>
source§fn edit_message_reply_markup_inline<I>(
&self,
inline_message_id: I
) -> Self::EditMessageReplyMarkupInlinewhere
I: Into<String>,
fn edit_message_reply_markup_inline<I>( &self, inline_message_id: I ) -> Self::EditMessageReplyMarkupInlinewhere I: Into<String>,
For Telegram documentation see
EditMessageReplyMarkupInline
.type StopPoll = TraceRequest<<B as Requester>::StopPoll>
source§fn stop_poll<C>(&self, chat_id: C, message_id: MessageId) -> Self::StopPollwhere
C: Into<Recipient>,
fn stop_poll<C>(&self, chat_id: C, message_id: MessageId) -> Self::StopPollwhere C: Into<Recipient>,
For Telegram documentation see
StopPoll
.type DeleteMessage = TraceRequest<<B as Requester>::DeleteMessage>
source§fn delete_message<C>(
&self,
chat_id: C,
message_id: MessageId
) -> Self::DeleteMessagewhere
C: Into<Recipient>,
fn delete_message<C>( &self, chat_id: C, message_id: MessageId ) -> Self::DeleteMessagewhere C: Into<Recipient>,
For Telegram documentation see
DeleteMessage
.type SendSticker = TraceRequest<<B as Requester>::SendSticker>
source§fn send_sticker<C>(&self, chat_id: C, sticker: InputFile) -> Self::SendStickerwhere
C: Into<Recipient>,
fn send_sticker<C>(&self, chat_id: C, sticker: InputFile) -> Self::SendStickerwhere C: Into<Recipient>,
For Telegram documentation see
SendSticker
.type GetStickerSet = TraceRequest<<B as Requester>::GetStickerSet>
source§fn get_sticker_set<N>(&self, name: N) -> Self::GetStickerSetwhere
N: Into<String>,
fn get_sticker_set<N>(&self, name: N) -> Self::GetStickerSetwhere N: Into<String>,
For Telegram documentation see
GetStickerSet
.type GetCustomEmojiStickers = TraceRequest<<B as Requester>::GetCustomEmojiStickers>
source§fn get_custom_emoji_stickers<C>(
&self,
custom_emoji_ids: C
) -> Self::GetCustomEmojiStickerswhere
C: IntoIterator<Item = String>,
fn get_custom_emoji_stickers<C>( &self, custom_emoji_ids: C ) -> Self::GetCustomEmojiStickerswhere C: IntoIterator<Item = String>,
For Telegram documentation see
GetCustomEmojiStickers
.type UploadStickerFile = TraceRequest<<B as Requester>::UploadStickerFile>
source§fn upload_sticker_file(
&self,
user_id: UserId,
png_sticker: InputFile
) -> Self::UploadStickerFile
fn upload_sticker_file( &self, user_id: UserId, png_sticker: InputFile ) -> Self::UploadStickerFile
For Telegram documentation see
UploadStickerFile
.type CreateNewStickerSet = TraceRequest<<B as Requester>::CreateNewStickerSet>
source§fn create_new_sticker_set<N, T, E>(
&self,
user_id: UserId,
name: N,
title: T,
sticker: InputSticker,
emojis: E
) -> Self::CreateNewStickerSetwhere
N: Into<String>,
T: Into<String>,
E: Into<String>,
fn create_new_sticker_set<N, T, E>( &self, user_id: UserId, name: N, title: T, sticker: InputSticker, emojis: E ) -> Self::CreateNewStickerSetwhere N: Into<String>, T: Into<String>, E: Into<String>,
For Telegram documentation see
CreateNewStickerSet
.type AddStickerToSet = TraceRequest<<B as Requester>::AddStickerToSet>
source§fn add_sticker_to_set<N, E>(
&self,
user_id: UserId,
name: N,
sticker: InputSticker,
emojis: E
) -> Self::AddStickerToSetwhere
N: Into<String>,
E: Into<String>,
fn add_sticker_to_set<N, E>( &self, user_id: UserId, name: N, sticker: InputSticker, emojis: E ) -> Self::AddStickerToSetwhere N: Into<String>, E: Into<String>,
For Telegram documentation see
AddStickerToSet
.type SetStickerPositionInSet = TraceRequest<<B as Requester>::SetStickerPositionInSet>
source§fn set_sticker_position_in_set<S>(
&self,
sticker: S,
position: u32
) -> Self::SetStickerPositionInSetwhere
S: Into<String>,
fn set_sticker_position_in_set<S>( &self, sticker: S, position: u32 ) -> Self::SetStickerPositionInSetwhere S: Into<String>,
For Telegram documentation see
SetStickerPositionInSet
.type DeleteStickerFromSet = TraceRequest<<B as Requester>::DeleteStickerFromSet>
source§fn delete_sticker_from_set<S>(&self, sticker: S) -> Self::DeleteStickerFromSetwhere
S: Into<String>,
fn delete_sticker_from_set<S>(&self, sticker: S) -> Self::DeleteStickerFromSetwhere S: Into<String>,
For Telegram documentation see
DeleteStickerFromSet
.type SetStickerSetThumb = TraceRequest<<B as Requester>::SetStickerSetThumb>
source§fn set_sticker_set_thumb<N>(
&self,
name: N,
user_id: UserId
) -> Self::SetStickerSetThumbwhere
N: Into<String>,
fn set_sticker_set_thumb<N>( &self, name: N, user_id: UserId ) -> Self::SetStickerSetThumbwhere N: Into<String>,
For Telegram documentation see
SetStickerSetThumb
.type SendInvoice = TraceRequest<<B as Requester>::SendInvoice>
source§fn send_invoice<Ch, T, D, Pa, P, C, Pri>(
&self,
chat_id: Ch,
title: T,
description: D,
payload: Pa,
provider_token: P,
currency: C,
prices: Pri
) -> Self::SendInvoicewhere
Ch: Into<Recipient>,
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
fn send_invoice<Ch, T, D, Pa, P, C, Pri>( &self, chat_id: Ch, title: T, description: D, payload: Pa, provider_token: P, currency: C, prices: Pri ) -> Self::SendInvoicewhere Ch: Into<Recipient>, T: Into<String>, D: Into<String>, Pa: Into<String>, P: Into<String>, C: Into<String>, Pri: IntoIterator<Item = LabeledPrice>,
For Telegram documentation see
SendInvoice
.type CreateInvoiceLink = TraceRequest<<B as Requester>::CreateInvoiceLink>
source§fn create_invoice_link<T, D, Pa, P, C, Pri>(
&self,
title: T,
description: D,
payload: Pa,
provider_token: P,
currency: C,
prices: Pri
) -> Self::CreateInvoiceLinkwhere
T: Into<String>,
D: Into<String>,
Pa: Into<String>,
P: Into<String>,
C: Into<String>,
Pri: IntoIterator<Item = LabeledPrice>,
fn create_invoice_link<T, D, Pa, P, C, Pri>( &self, title: T, description: D, payload: Pa, provider_token: P, currency: C, prices: Pri ) -> Self::CreateInvoiceLinkwhere T: Into<String>, D: Into<String>, Pa: Into<String>, P: Into<String>, C: Into<String>, Pri: IntoIterator<Item = LabeledPrice>,
For Telegram documentation see
CreateInvoiceLink
.type AnswerShippingQuery = TraceRequest<<B as Requester>::AnswerShippingQuery>
source§fn answer_shipping_query<S>(
&self,
shipping_query_id: S,
ok: bool
) -> Self::AnswerShippingQuerywhere
S: Into<String>,
fn answer_shipping_query<S>( &self, shipping_query_id: S, ok: bool ) -> Self::AnswerShippingQuerywhere S: Into<String>,
For Telegram documentation see
AnswerShippingQuery
.type AnswerPreCheckoutQuery = TraceRequest<<B as Requester>::AnswerPreCheckoutQuery>
source§fn answer_pre_checkout_query<P>(
&self,
pre_checkout_query_id: P,
ok: bool
) -> Self::AnswerPreCheckoutQuerywhere
P: Into<String>,
fn answer_pre_checkout_query<P>( &self, pre_checkout_query_id: P, ok: bool ) -> Self::AnswerPreCheckoutQuerywhere P: Into<String>,
For Telegram documentation see
AnswerPreCheckoutQuery
.type SetPassportDataErrors = TraceRequest<<B as Requester>::SetPassportDataErrors>
source§fn set_passport_data_errors<E>(
&self,
user_id: UserId,
errors: E
) -> Self::SetPassportDataErrorswhere
E: IntoIterator<Item = PassportElementError>,
fn set_passport_data_errors<E>( &self, user_id: UserId, errors: E ) -> Self::SetPassportDataErrorswhere E: IntoIterator<Item = PassportElementError>,
For Telegram documentation see
SetPassportDataErrors
.type SendGame = TraceRequest<<B as Requester>::SendGame>
source§fn send_game<G>(&self, chat_id: u32, game_short_name: G) -> Self::SendGamewhere
G: Into<String>,
fn send_game<G>(&self, chat_id: u32, game_short_name: G) -> Self::SendGamewhere G: Into<String>,
For Telegram documentation see
SendGame
.type SetGameScore = TraceRequest<<B as Requester>::SetGameScore>
source§fn set_game_score(
&self,
user_id: UserId,
score: u64,
chat_id: u32,
message_id: MessageId
) -> Self::SetGameScore
fn set_game_score( &self, user_id: UserId, score: u64, chat_id: u32, message_id: MessageId ) -> Self::SetGameScore
For Telegram documentation see
SetGameScore
.type SetGameScoreInline = TraceRequest<<B as Requester>::SetGameScoreInline>
source§fn set_game_score_inline<I>(
&self,
user_id: UserId,
score: u64,
inline_message_id: I
) -> Self::SetGameScoreInlinewhere
I: Into<String>,
fn set_game_score_inline<I>( &self, user_id: UserId, score: u64, inline_message_id: I ) -> Self::SetGameScoreInlinewhere I: Into<String>,
For Telegram documentation see
SetGameScoreInline
.type GetGameHighScores = TraceRequest<<B as Requester>::GetGameHighScores>
source§fn get_game_high_scores<T>(
&self,
user_id: UserId,
target: T
) -> Self::GetGameHighScoreswhere
T: Into<TargetMessage>,
fn get_game_high_scores<T>( &self, user_id: UserId, target: T ) -> Self::GetGameHighScoreswhere T: Into<TargetMessage>,
For Telegram documentation see
GetGameHighScores
.type ApproveChatJoinRequest = TraceRequest<<B as Requester>::ApproveChatJoinRequest>
source§fn approve_chat_join_request<C>(
&self,
chat_id: C,
user_id: UserId
) -> Self::ApproveChatJoinRequestwhere
C: Into<Recipient>,
fn approve_chat_join_request<C>( &self, chat_id: C, user_id: UserId ) -> Self::ApproveChatJoinRequestwhere C: Into<Recipient>,
For Telegram documentation see
ApproveChatJoinRequest
.type DeclineChatJoinRequest = TraceRequest<<B as Requester>::DeclineChatJoinRequest>
source§fn decline_chat_join_request<C>(
&self,
chat_id: C,
user_id: UserId
) -> Self::DeclineChatJoinRequestwhere
C: Into<Recipient>,
fn decline_chat_join_request<C>( &self, chat_id: C, user_id: UserId ) -> Self::DeclineChatJoinRequestwhere C: Into<Recipient>,
For Telegram documentation see
DeclineChatJoinRequest
.