TelegramBot.getChat

Get up-to-date information about the chat

  1. Chat getChat(T chat_id)
    struct TelegramBot
    @trusted
    getChat
    (
    T
    )
  2. Chat getChat(GetChatMethod m)

Parameters

chat_id T

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

Return Value

Type: Chat

Chat on success

Throws

TelegramBotException on errors

See Also

Meta