Skip to main content
Module

x/grammy_conversations/deps.deno.ts>Chat.SupergroupGetChat

Conversational interfaces for grammY.
Latest
interface Chat.SupergroupGetChat
implements SupergroupChat, GetChat, NonGroupGetChat, NonPrivateGetChat, MultiUserGetChat, LargeGetChat
import { type Chat } from "https://deno.land/x/grammy_conversations@v1.2.0/deps.deno.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_visible_history: boolean

True, if new chat members will have access to old messages; available only to chat administrators. 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.