Struct rtdlib::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
Performs the conversion.
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl Send for InternalLinkTypeBotStartInGroup
impl Sync for InternalLinkTypeBotStartInGroup
impl Unpin for InternalLinkTypeBotStartInGroup
Blanket Implementations
Mutably borrows from an owned value. Read more