Enum rust_tdlib::types::SuggestedAction [−][src]
pub enum SuggestedAction {
CheckPhoneNumber(SuggestedActionCheckPhoneNumber),
EnableArchiveAndMuteNewChats(SuggestedActionEnableArchiveAndMuteNewChats),
// some variants omitted
}Expand description
Describes an action suggested to the current user
Variants
CheckPhoneNumber(SuggestedActionCheckPhoneNumber)Suggests the user to check authorization phone number and change the phone number if it is inaccessible
EnableArchiveAndMuteNewChats(SuggestedActionEnableArchiveAndMuteNewChats)Suggests the user to enable “archive_and_mute_new_chats_from_unknown_users” option
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SuggestedActionimpl Send for SuggestedActionimpl Sync for SuggestedActionimpl Unpin for SuggestedActionimpl UnwindSafe for SuggestedActionBlanket Implementations
Mutably borrows from an owned value. Read more