Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IChatFullInfo

This object contains full information about a chat.

Hierarchy

Index

Properties

accent_color_id: number

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.

see

https://core.telegram.org/bots/api#accent-colors

active_usernames?: string[]

Optional. If non-empty, the list of all active chat usernames; for private chats, supergroups and channels

available_reactions?: IReactionType[]

Optional. List of available reactions allowed in the chat. If omitted, then all emoji reactions are allowed.

background_custom_emoji_id?: string

Optional. Custom emoji identifier of the emoji chosen by the chat for the reply header and link preview background

bio?: string

Optional. Bio of the other party in a private chat

birthdate?: IBirthdate

Optional. For private chats, the date of birth of the user

business_intro?: IBusinessIntro

Optional. For private chats with business accounts, the intro of the business

business_location?: IBusinessLocation

Optional. For private chats with business accounts, the location of the business

business_opening_hours?: IBusinessOpeningHours

Optional. For private chats with business accounts, the opening hours of the business

can_send_paid_media?: true

Optional. True, if the chat can send paid media

can_set_sticker_set?: true

Optional. True, if the chat can set a sticker set

custom_emoji_sticker_set_name?: string

Optional. Name of the custom emoji sticker set used in the chat.

description?: string

Optional. Description, for groups, supergroups and channel chats

emoji_status_custom_emoji_id?: string

Optional. Custom emoji identifier of the emoji status of the chat or the other party in a private chat

emoji_status_expiration_date?: number

Optional. Expiration date of the emoji status of the chat or the other party in a private chat, in Unix time, if any

first_name?: string

Optional. First name of the other party in a private chat

has_aggressive_anti_spam_enabled?: true

Optional. True, if aggressive anti-spam is enabled

has_hidden_members?: true

Optional. True, if the chat has hidden members

has_private_forwards?: boolean

Optional. True, if privacy settings of the other party in the private chat allows to use tg://user?id= links only in chats with the user

has_protected_content?: true

Optional. True, if the chat has protected content

has_restricted_voice_and_video_messages?: boolean

Optional. True, if the privacy settings of the other party restrict sending voice and video note messages in the private chat

has_visible_history?: true

Optional. True, if the chat has visible history

id: number

Unique identifier for this chat.

invite_link?: string

Optional. Primary invite link, for groups, supergroups and channel chats

is_forum?: boolean

Optional. True, if the supergroup chat is a forum (has topics enabled)

join_by_request?: boolean

Optional. True, if all users directly joining the supergroup without using an invite link need to be approved by supergroup administrators

join_to_send_messages?: boolean

Optional. True, if users need to join the supergroup before they can send messages

last_name?: string

Optional. Last name of the other party in a private chat

linked_chat_id?: number

Optional. Identifier of the linked chat

location?: IChatLocation

Optional. Location of the chat

max_reaction_count: number

The maximum number of reactions that can be set on a message in the chat

message_auto_delete_time?: number

Optional. Time in seconds for auto-deleting messages

permissions?: IChatPermissions

Optional. Default chat member permissions, for groups and supergroups

personal_chat?: IChat

Optional. For private chats, the personal channel of the user

photo?: IChatPhoto

Optional. Chat photo

pinned_message?: IMessage

Optional. The most recent pinned message (by sending date)

profile_accent_color_id?: number

Optional. Identifier of the accent color for the chat's profile background. See profile accent colors for more details.

profile_background_custom_emoji_id?: string

Optional. Custom emoji identifier of the emoji chosen by the chat for its profile background

slow_mode_delay?: number

Optional. Delay in seconds for sending messages in slow mode

sticker_set_name?: string

Optional. Name of the sticker set used in the chat

title?: string

Optional. Title, for supergroups, channels and group chats

type: string

Type of chat, can be either “private”, “group”, “supergroup” or “channel”

unrestrict_boost_count?: number

Optional. Number of boosts required to unrestrict the chat

username?: string

Optional. Username, for private chats, supergroups and channels if available

Generated using TypeDoc