Enum rtdlib::types::NotificationGroupType [−][src]
pub enum NotificationGroupType {
Calls(NotificationGroupTypeCalls),
Mentions(NotificationGroupTypeMentions),
Messages(NotificationGroupTypeMessages),
SecretChat(NotificationGroupTypeSecretChat),
// some variants omitted
}
Expand description
Describes type of notifications in the group
Variants
A group containing notifications of type notificationTypeNewCall
Tuple Fields of Calls
A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with unread mentions of the current user, replies to their messages, or a pinned message
Tuple Fields of Mentions
A group containing notifications of type notificationTypeNewMessage and notificationTypeNewPushMessage with ordinary unread messages
Tuple Fields of Messages
A group containing a notification of type notificationTypeNewSecretChat
Tuple Fields of SecretChat
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<NotificationGroupType, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<NotificationGroupType, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for NotificationGroupType
impl Send for NotificationGroupType
impl Sync for NotificationGroupType
impl Unpin for NotificationGroupType
impl UnwindSafe for NotificationGroupType
Blanket Implementations
Mutably borrows from an owned value. Read more