pub trait CanRestrictChatMemberForChat {
fn restrict<O>(&self, other: O) -> RestrictChatMember
where
O: ToUserId;
}
Expand description
Restrict a user from a group or a supergroup.
pub trait CanRestrictChatMemberForChat {
fn restrict<O>(&self, other: O) -> RestrictChatMember
where
O: ToUserId;
}
Restrict a user from a group or a supergroup.