Enum screeps_api::websocket::types::messages::ConversationUpdate
[−]
[src]
pub enum ConversationUpdate {
NewMessage {
message: Message,
},
MessageRead {
message: MessageUnreadUpdate,
},
}Update on a conversation between two specific users. This is either a new message sent by one of the users (either the subscribed one or the other one), or an update indicating that a message previously sent has now been read.
Variants
NewMessageA new message has been sent.
Fields of NewMessage
message: Message | The update with more information. |
MessageReadA message's unread status has changed.
Fields of MessageRead
message: MessageUnreadUpdate | The update with more information. |
Trait Implementations
impl Clone for ConversationUpdate[src]
fn clone(&self) -> ConversationUpdate[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more