Struct rtdlib::types::CheckAuthenticationBotToken [−][src]
pub struct CheckAuthenticationBotToken { /* fields omitted */ }
Expand description
Checks the authentication token of a bot; to log in as a bot. Works only when the current authorization state is authorizationStateWaitPhoneNumber. Can be used instead of setAuthenticationPhoneNumber and checkAuthenticationCode to log in
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 CheckAuthenticationBotToken
impl Send for CheckAuthenticationBotToken
impl Sync for CheckAuthenticationBotToken
impl Unpin for CheckAuthenticationBotToken
impl UnwindSafe for CheckAuthenticationBotToken
Blanket Implementations
Mutably borrows from an owned value. Read more