TelegramBot.restrictChatMember

Restrict a user in a supergroup

  1. bool restrictChatMember(T chat_id, int user_id)
  2. bool restrictChatMember(RestrictChatMemberMethod m)
    struct TelegramBot
    @trusted
    bool
    restrictChatMember

Return Value

Type: bool

Sent Message

Throws

TelegramBotException on errors

See Also

Meta