Struct rtdlib::types::SendBotStartMessage [−][src]
pub struct SendBotStartMessage { /* fields omitted */ }
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
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 RefUnwindSafe for SendBotStartMessage
impl Send for SendBotStartMessage
impl Sync for SendBotStartMessage
impl Unpin for SendBotStartMessage
impl UnwindSafe for SendBotStartMessage
Blanket Implementations
Mutably borrows from an owned value. Read more