Struct rust_tdlib::types::InternalLinkTypeBotStart
source · 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