Skip to main content

line_bot_sdk_messaging_api/models/
quick_reply.rs

1/*
2 * LINE Messaging API
3 *
4 * This document describes LINE Messaging API.
5 *
6 * The version of the OpenAPI document: 0.0.1
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// QuickReply : Quick reply
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct QuickReply {
17    /// Quick reply button objects.
18    #[serde(rename = "items", skip_serializing_if = "Option::is_none")]
19    pub items: Option<Vec<models::QuickReplyItem>>,
20}
21
22impl QuickReply {
23    /// Quick reply
24    pub fn new() -> QuickReply {
25        QuickReply { items: None }
26    }
27}