webhook_line/models/video_play_complete.rs
1/*
2 * Webhook Type Definition
3 *
4 * Webhook event definition of the LINE Messaging API
5 *
6 * The version of the OpenAPI document: 1.0.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct VideoPlayComplete {
16 /// ID used to identify a video. Returns the same value as the trackingId assigned to the video message.
17 #[serde(rename = "trackingId")]
18 pub tracking_id: String,
19}
20
21impl VideoPlayComplete {
22 pub fn new(tracking_id: String) -> VideoPlayComplete {
23 VideoPlayComplete {
24 tracking_id,
25 }
26 }
27}
28