From 23f2b9494d58ad963b3335427bbfe4e086ff6cfd Mon Sep 17 00:00:00 2001 From: nextel Date: Sat, 21 Sep 2019 20:08:06 +0300 Subject: [PATCH] add action template --- src/requests/kick_chat_member.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/requests/kick_chat_member.rs b/src/requests/kick_chat_member.rs index baabe494..a07f2252 100644 --- a/src/requests/kick_chat_member.rs +++ b/src/requests/kick_chat_member.rs @@ -9,4 +9,8 @@ use crate::requests::RequestContext; pub struct KickChatMember<'a> { #[serde(skip_serializing)] ctx: RequestContext<'a>, + + chat_id Integer or String Yes Unique identifier for the target group or username of the target supergroup or channel (in the format @channelusername) + user_id Integer Yes Unique identifier of the target user + until_date Integer Optional Date when the user will be unbanned, unix time. If user is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever }