pub struct InternalLinkTypeBotStart { /* private fields */ }
Expand description
The link is a link to a chat with a Telegram bot. Call searchPublicChat with the given bot username, check that the user is a bot, show START button in the chat with the bot, and then call sendBotStartMessage with the given start parameter after the button is pressed
Implementations§
Trait Implementations§
Source§impl AsRef<InternalLinkTypeBotStart> for InternalLinkTypeBotStart
impl AsRef<InternalLinkTypeBotStart> for InternalLinkTypeBotStart
Source§fn as_ref(&self) -> &InternalLinkTypeBotStart
fn as_ref(&self) -> &InternalLinkTypeBotStart
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for InternalLinkTypeBotStart
impl Clone for InternalLinkTypeBotStart
Source§fn clone(&self) -> InternalLinkTypeBotStart
fn clone(&self) -> InternalLinkTypeBotStart
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InternalLinkTypeBotStart
impl Debug for InternalLinkTypeBotStart
Source§impl Default for InternalLinkTypeBotStart
impl Default for InternalLinkTypeBotStart
Source§fn default() -> InternalLinkTypeBotStart
fn default() -> InternalLinkTypeBotStart
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InternalLinkTypeBotStart
impl<'de> Deserialize<'de> for InternalLinkTypeBotStart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for InternalLinkTypeBotStart
impl Serialize for InternalLinkTypeBotStart
impl TDInternalLinkType for InternalLinkTypeBotStart
Auto Trait Implementations§
impl Freeze for InternalLinkTypeBotStart
impl RefUnwindSafe for InternalLinkTypeBotStart
impl Send for InternalLinkTypeBotStart
impl Sync for InternalLinkTypeBotStart
impl Unpin for InternalLinkTypeBotStart
impl UnwindSafe for InternalLinkTypeBotStart
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more