TelegramBot.leaveChat

Leave a group, supergroup or channel

  1. bool leaveChat(T chat_id)
  2. bool leaveChat(LeaveChatMethod m)
    struct TelegramBot
    @trusted
    bool
    leaveChat

Return Value

Type: bool

true on success

Throws

TelegramBotException on errors

See Also

Meta