Module restrict_chat_member

Source

Structs§

RestrictChatMember
Use this method to kick a user from a group or a supergroup. In the case of supergroups, the user will not be able to return to the group on their own using invite links, etc., unless unbanned first. The bot must be an administrator in the group for this to work.

Traits§

CanRestrictChatMemberForChat
Restrict a user from a group or a supergroup.
CanRestrictChatMemberForUser
Restrict a user from a group or a supergroup.