Enum imessage_database::message_types::variants::Variant
source · pub enum Variant<'a> {
Reaction(usize, bool, Reaction),
Sticker(usize),
Unknown(i32),
App(CustomBalloon<'a>),
Normal,
Edited,
}Expand description
Message variant container
Messages can exist as one of many different variants, this encapsulates all of the possibilities.
Variants§
Reaction(usize, bool, Reaction)
A reaction to another message
Sticker(usize)
A sticker message, either placed on another message or by itself
Unknown(i32)
Container for new or unknown messages
App(CustomBalloon<'a>)
An iMessage app generated message
Normal
An iMessage with a standard text body that may include attachments
Edited
A message that has been edited or unsent