Skip to content

Client.getSupergroupId

client method · async

Get supergroup id from chat id

Client.getSupergroupId(
  chat_id: int
) → Error | int | None

Source: pytdbot/methods/methods.py