Enum line_messaging_api_rust::messages::LineMessageType[][src]

pub enum LineMessageType {
    Text {
        text: String,
    },
    Image {
        original_content_url: String,
        preview_image_url: String,
    },
    Video {
        original_content_url: String,
        preview_image_url: String,
    },
    Audio {
        original_content_url: String,
        duration: u64,
    },
    Location {
        title: String,
        address: String,
        latitude: f64,
        longitude: f64,
    },
    File {
        file_name: String,
        file_size: u64,
    },
    Sticker {
        package_id: String,
        sticker_id: String,
    },
    Imagemap {
        base_url: String,
        alt_text: String,
        base_size: BaseSize,
        actions: Vec<ImagemapAction>,
    },
    Template {
        alt_text: String,
        template: TemplateComponent,
    },
    Flex {
        alt_text: String,
        contents: FlexContainer,
    },
}

Variants

Fields of Text

Fields of Image

Fields of Video

Fields of Audio

Fields of Location

Fields of File

Fields of Sticker

Fields of Imagemap

Fields of Template

Fields of Flex

Trait Implementations

impl Clone for LineMessageType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations