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

A new message has been sent.

Fields of NewMessage

The update with more information.

A message's unread status has changed.

Fields of MessageRead

The update with more information.

Trait Implementations

impl Clone for ConversationUpdate
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ConversationUpdate
[src]

[src]

Formats the value using the given formatter.