messaging_api_line/models/
group_member_count_response.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#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct GroupMemberCountResponse {
16    /// The count of members in the group chat. The number returned excludes the LINE Official Account.
17    #[serde(rename = "count")]
18    pub count: i32,
19}
20
21impl GroupMemberCountResponse {
22    pub fn new(count: i32) -> GroupMemberCountResponse {
23        GroupMemberCountResponse {
24            count,
25        }
26    }
27}
28