Returns: Chat

class aiogram.methods.get_chat.GetChat(*, chat_id: Union[int, str], **extra_data: Any)[source]#

Use this method to get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.). Returns a object on success.


chat_id: Union[int, str]#

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

build_request(bot: Bot) Request[source]#


As bot method#

result: Chat = await bot.get_chat(...)

Method as object#


  • from aiogram.methods.get_chat import GetChat

  • alias: from aiogram.methods import GetChat

With specific bot#

result: Chat = await bot(GetChat(...))