Enum apiai::structure::ApiMessage [] [src]

pub enum ApiMessage {
    Text {
        speech: String,
        message_type: i32,
    },
    Image {
        image_url: String,
        message_type: i32,
    },
}

ApiMesages contain various types of message - text, images, buttons and more.

Variants

Fields of Text

Fields of Image

Methods

impl ApiMessage
[src]