ferrisgram/helpers/chat_join_request.rs
1// WARNING: THIS CODE IS AUTOGENERATED.
2// DO NOT EDIT!!!
3
4#![allow(clippy::too_many_arguments, clippy::new_without_default)]
5use crate::types::Chat;
6use crate::types::ChatJoinRequest;
7use crate::types::User;
8
9impl ChatJoinRequest {
10 /// This function creates an empty struct for the object ChatJoinRequest.
11 pub fn new(chat: Chat, from: User, user_chat_id: i64, date: i64) -> Self {
12 Self {
13 chat,
14 from,
15 user_chat_id,
16 date,
17 bio: None,
18 invite_link: None,
19 }
20 }
21}