libduvet/model/message_type
Types
What a message is.
pub type MessageType {
MessageType(Int)
}
Constructors
-
MessageType(Int)
Values
pub const call: MessageType
A conversation’s notice that one of its calls ended: its author is the
caller, it has no content, and DirectMessage.call says who was in the
call and when.
pub fn from_int(value: Int) -> MessageType
pub const pin_notice: MessageType
A room’s or conversation’s notice that its author pinned the message it references; no content.
pub const text: MessageType
pub fn value(message_type: MessageType) -> Int
pub const voice: MessageType