Struct rust_tdlib::types::InternalLinkTypeBotStartInGroup
source · pub struct InternalLinkTypeBotStartInGroup { /* private fields */ }
Expand description
The link is a link to a Telegram bot, which is supposed to be added to a group chat. Call searchPublicChat with the given bot username, check that the user is a bot and can be added to groups, ask the current user to select a group to add the bot to, and then call sendBotStartMessage with the given start parameter and the chosen group chat. Bots can be added to a public group only by administrators of the group
Implementations§
Trait Implementations§
source§impl AsRef<InternalLinkTypeBotStartInGroup> for InternalLinkTypeBotStartInGroup
impl AsRef<InternalLinkTypeBotStartInGroup> for InternalLinkTypeBotStartInGroup
source§fn as_ref(&self) -> &InternalLinkTypeBotStartInGroup
fn as_ref(&self) -> &InternalLinkTypeBotStartInGroup
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InternalLinkTypeBotStartInGroup
impl Clone for InternalLinkTypeBotStartInGroup
source§fn clone(&self) -> InternalLinkTypeBotStartInGroup
fn clone(&self) -> InternalLinkTypeBotStartInGroup
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 Default for InternalLinkTypeBotStartInGroup
impl Default for InternalLinkTypeBotStartInGroup
source§fn default() -> InternalLinkTypeBotStartInGroup
fn default() -> InternalLinkTypeBotStartInGroup
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InternalLinkTypeBotStartInGroup
impl<'de> Deserialize<'de> for InternalLinkTypeBotStartInGroup
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