Struct kudubot_bindings::structs::Message
[−]
[src]
pub struct Message { pub message_title: String, pub message_body: String, pub receiver: Contact, pub sender: Contact, pub sender_group: Option<Contact>, pub timestamp: f64, }
The Message struct models a Message as defined by the kudubot framework for easy use in rust.
Arguments
message_title
- The title of the messagemessage_body
- The body of the messagereceiver
- The recipient of the messagesender
- The sender of the messagesender_group
- The sender group of the message. May be None.timestamp
- The timestamp of the message
Fields
message_title: String
message_body: String
receiver: Contact
sender: Contact
sender_group: Option<Contact>
timestamp: f64
Methods
impl Message
[src]
Implementation of methods for the Message struct