Struct rust_tdlib::types::SendBotStartMessage  
source · [−]pub struct SendBotStartMessage { /* private fields */ }Expand description
Invites a bot to a chat (if it is not yet a member) and sends it the /start command. Bots can’t be invited to a private chat other than the chat with the bot. Bots can’t be invited to channels (although they can be added as admins) and secret chats. Returns the sent message
Implementations
Trait Implementations
sourceimpl AsRef<SendBotStartMessage> for SendBotStartMessage
 
impl AsRef<SendBotStartMessage> for SendBotStartMessage
sourcefn as_ref(&self) -> &SendBotStartMessage
 
fn as_ref(&self) -> &SendBotStartMessage
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for SendBotStartMessage
 
impl Clone for SendBotStartMessage
sourcefn clone(&self) -> SendBotStartMessage
 
fn clone(&self) -> SendBotStartMessage
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 Debug for SendBotStartMessage
 
impl Debug for SendBotStartMessage
sourceimpl Default for SendBotStartMessage
 
impl Default for SendBotStartMessage
sourcefn default() -> SendBotStartMessage
 
fn default() -> SendBotStartMessage
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SendBotStartMessage
 
impl<'de> Deserialize<'de> for SendBotStartMessage
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
sourceimpl Serialize for SendBotStartMessage
 
impl Serialize for SendBotStartMessage
Auto Trait Implementations
impl RefUnwindSafe for SendBotStartMessage
impl Send for SendBotStartMessage
impl Sync for SendBotStartMessage
impl Unpin for SendBotStartMessage
impl UnwindSafe for SendBotStartMessage
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