Struct telecord::dc::Message [] [src]

pub struct Message {
    pub from: String,
    pub channel_id: ChannelId,
    pub content: MessageContent,
}

The outermost layer of the Discord Message representation

Fields

from indicates the user that originally sent the message

channel_id determines which channel the message should be sent to

content defines the contents of the message

Methods

impl Message
[src]

[src]

Create a new text message representation

[src]

Create a new file message representation