pub trait CanRestrictChatMemberForChat {
    fn restrict<O>(&self, other: O) -> RestrictChatMember
    where
        O: ToUserId
; }
Expand description

Restrict a user from a group or a supergroup.

Required Methods

Implementors