import { type ChatFullInfo } from "https://deno.land/x/grammy@v1.31.1/types.deno.ts";
const { ChannelChat } = ChatFullInfo;
Internal type for channel chats
Properties
Identifier of the accent color for the chat name and backgrounds of the chat photo, reply header, and link preview. See accent colors for more details.
Chat photo
If non-empty, the list of all active chat usernames; for private chats, supergroups and channels
For private chats with business accounts, the intro of the business
For private chats with business accounts, the location of the business
For private chats with business accounts, the opening hours of the business
List of available reactions allowed in the chat. If omitted, then all emoji reactions are allowed.
Custom emoji identifier of the emoji chosen by the chat for the reply header and link preview background
Identifier of the accent color for the chat's profile background. See profile accent colors for more details.
Custom emoji identifier of the emoji chosen by the chat for its profile background
Custom emoji identifier of the emoji status of the chat or the other party in a private chat
Expiration date of the emoji status of the chat or the other party in a private chat, in Unix time, if any
True, if privacy settings of the other party in the private chat allows to use tg://user?id=<user_id> links only in chats with the user
True, if the privacy settings of the other party restrict sending voice and video note messages in the private chat
True, if users need to join the supergroup before they can send messages
True, if all users directly joining the supergroup without using an invite link need to be approved by supergroup administrators
The most recent pinned message (by sending date)
For supergroups, the minimum allowed delay between consecutive messages sent by each unprivileged user; in seconds
For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions
The time after which all messages sent to the chat will be automatically deleted; in seconds
True, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators.
True, if messages from the chat can't be forwarded to other chats
True, if new chat members will have access to old messages; available only to chat administrators
For supergroups, the name of the group's custom emoji sticker set. Custom emoji from this set can be used by all users and bots in the group.
Unique identifier for the linked chat, i.e. the discussion group identifier for a channel and vice versa; for supergroups and channel chats.