Very Popular
Go to Latest
interface Chat.SupergroupGetChat
implements SupergroupChat, NonGroupGetChat, MultiUserGetChat, LargeGetChat
import { type Chat } from "https://dotland.deno.dev/x/grammy@v1.15.2/types.deno.ts";
const { SupergroupGetChat } = Chat;

Internal type representing supergroup chats returned from getChat.

Properties

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.

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.