Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/types.ts>Chat.SupergroupGetChat

The Telegram Bot Framework.
Very Popular
Go to Latest
interface Chat.SupergroupGetChat
implements SupergroupChat, NonGroupGetChat, MultiUserGetChat, LargeGetChat
import { type Chat } from "https://deno.land/x/grammy@v1.17.2/types.ts";
const { SupergroupGetChat } = Chat;

Internal type representing supergroup chats returned from getChat.

Properties

optional
join_to_send_messages: true

True, if users need to join the supergroup before they can send messages. Returned only in getChat.

optional
join_by_request: true

True, if all users directly joining the supergroup need to be approved by supergroup administrators. Returned only in getChat.

optional
slow_mode_delay: number

For supergroups, the minimum allowed delay between consecutive messages sent by each unpriviledged user; in seconds. Returned only in getChat.

optional
has_aggressive_anti_spam_enabled: true

True, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators. Returned only in getChat.

optional
sticker_set_name: string

For supergroups, name of group sticker set. Returned only in getChat.

optional
location: ChatLocation

For supergroups, the location to which the supergroup is connected. Returned only in getChat.