mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
add action template
This commit is contained in:
parent
a447c26837
commit
23f2b9494d
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue