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§
source§impl AsRef<SendBotStartMessage> for SendBotStartMessage
impl AsRef<SendBotStartMessage> for SendBotStartMessage
source§fn as_ref(&self) -> &SendBotStartMessage
fn as_ref(&self) -> &SendBotStartMessage
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for SendBotStartMessage
impl Clone for SendBotStartMessage
source§fn clone(&self) -> SendBotStartMessage
fn clone(&self) -> SendBotStartMessage
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 SendBotStartMessage
impl Debug for SendBotStartMessage
source§impl Default for SendBotStartMessage
impl Default for SendBotStartMessage
source§fn default() -> SendBotStartMessage
fn default() -> SendBotStartMessage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SendBotStartMessage
impl<'de> Deserialize<'de> for SendBotStartMessage
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