[−][src]Trait telegram_bot::prelude::ToReplyRequest
Use this trait to convert a complex type to corresponding request and reply to the message.
Associated Types
Loading content...Required methods
pub fn to_reply_request<M>(&'b self, message: M) -> Self::Request where
M: ToMessageId + ToSourceChat,
[src]
M: ToMessageId + ToSourceChat,
Convert type to request and reply to the message.
Implementors
impl<'b> ToReplyRequest<'b> for Contact
[src]
type Request = SendContact<'b, 'b, 'b>
pub fn to_reply_request<M>(
&'b self,
message: M
) -> <Contact as ToReplyRequest<'b>>::Request where
M: ToMessageId + ToSourceChat,
[src]
&'b self,
message: M
) -> <Contact as ToReplyRequest<'b>>::Request where
M: ToMessageId + ToSourceChat,
impl<'b> ToReplyRequest<'b> for Location
[src]
type Request = SendLocation
pub fn to_reply_request<M>(
&'b self,
message: M
) -> <Location as ToReplyRequest<'b>>::Request where
M: ToMessageId + ToSourceChat,
[src]
&'b self,
message: M
) -> <Location as ToReplyRequest<'b>>::Request where
M: ToMessageId + ToSourceChat,
impl<'b> ToReplyRequest<'b> for Venue
[src]
type Request = SendVenue<'b, 'b, 'b>
pub fn to_reply_request<M>(
&'b self,
message: M
) -> <Venue as ToReplyRequest<'b>>::Request where
M: ToMessageId + ToSourceChat,
[src]
&'b self,
message: M
) -> <Venue as ToReplyRequest<'b>>::Request where
M: ToMessageId + ToSourceChat,