EnotPRO Logo EnotPRO

GetChat

GetChat - реакция позволяющая получить все доступные сведения о чате или канале.

Реакция поддерживает как ID, так и @username чатов/каналов.

Доступные параметры реакции:

Параметр Описание
chat.id ID чата/канала который необходимо запросить
Пример ответа

"response": {
  "method": "getChat",
  "ok": true,
  "result": {
    "accent_color_id": 2,
    "accepted_gift_types": { 5 items },
    "active_usernames": [ 1 item ],
    "description": "string",
    "has_visible_history": true,
    "id": -1001000000000,
    "invite_link": "https://t.me/+.....",
    "join_by_request": true,
    "join_to_send_messages": true,
    "max_reaction_count": 11,
    "permissions": { 15 items },
    "photo": { 4 items },
    "pinned_message": { 12 items },
    "slow_mode_delay": 3600,
    "title": "string",
    "type": "supergroup",
    "username": "string"
  }
}

Bot.api Method GetChat

© 2025 EnotPRO. Все права защищены.