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
sourceimpl AsRef<InternalLinkTypeBotStartInGroup> for InternalLinkTypeBotStartInGroup
 
impl AsRef<InternalLinkTypeBotStartInGroup> for InternalLinkTypeBotStartInGroup
sourcefn as_ref(&self) -> &InternalLinkTypeBotStartInGroup
 
fn as_ref(&self) -> &InternalLinkTypeBotStartInGroup
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InternalLinkTypeBotStartInGroup
 
impl Clone for InternalLinkTypeBotStartInGroup
sourcefn clone(&self) -> InternalLinkTypeBotStartInGroup
 
fn clone(&self) -> InternalLinkTypeBotStartInGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for InternalLinkTypeBotStartInGroup
 
impl Default for InternalLinkTypeBotStartInGroup
sourcefn default() -> InternalLinkTypeBotStartInGroup
 
fn default() -> InternalLinkTypeBotStartInGroup
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InternalLinkTypeBotStartInGroup
 
impl<'de> Deserialize<'de> for InternalLinkTypeBotStartInGroup
sourcefn 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
impl TDInternalLinkType for InternalLinkTypeBotStartInGroup
Auto Trait Implementations
impl RefUnwindSafe for InternalLinkTypeBotStartInGroup
impl Send for InternalLinkTypeBotStartInGroup
impl Sync for InternalLinkTypeBotStartInGroup
impl Unpin for InternalLinkTypeBotStartInGroup
impl UnwindSafe for InternalLinkTypeBotStartInGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more