Skip to content

GramIO API Reference / gramio/dist / TelegramChatFullInfo

Interface: TelegramChatFullInfo

Defined in: @gramio/types/out/objects.d.ts:289

This object contains full information about a chat.

Documentation

Properties

PropertyTypeDescriptionDefined in
accent_color_idnumberIdentifier 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.@gramio/types/out/objects.d.ts:325
accepted_gift_typesTelegramAcceptedGiftTypesInformation about types of gifts that are accepted by the chat or by the corresponding user for private chats@gramio/types/out/objects.d.ts:425
active_usernames?string[]Optional. If non-empty, the list of all active chat usernames; for private chats, supergroups and channels@gramio/types/out/objects.d.ts:337
available_reactions?TelegramReactionType[]Optional. List of available reactions allowed in the chat. If omitted, then all emoji reactions are allowed.@gramio/types/out/objects.d.ts:365
background_custom_emoji_id?stringOptional. Custom emoji identifier of the emoji chosen by the chat for the reply header and link preview background@gramio/types/out/objects.d.ts:369
bio?stringOptional. Bio of the other party in a private chat@gramio/types/out/objects.d.ts:389
birthdate?TelegramBirthdateOptional. For private chats, the date of birth of the user@gramio/types/out/objects.d.ts:341
business_intro?TelegramBusinessIntroOptional. For private chats with business accounts, the intro of the business@gramio/types/out/objects.d.ts:345
business_location?TelegramBusinessLocationOptional. For private chats with business accounts, the location of the business@gramio/types/out/objects.d.ts:349
business_opening_hours?TelegramBusinessOpeningHoursOptional. For private chats with business accounts, the opening hours of the business@gramio/types/out/objects.d.ts:353
can_send_paid_media?trueOptional. True, if paid media messages can be sent or forwarded to the channel chat. The field is available only for channel chats.@gramio/types/out/objects.d.ts:429
can_set_sticker_set?trueOptional. True, if the bot can change the group sticker set@gramio/types/out/objects.d.ts:465
custom_emoji_sticker_set_name?stringOptional. 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.@gramio/types/out/objects.d.ts:469
description?stringOptional. Description, for groups, supergroups and channel chats@gramio/types/out/objects.d.ts:409
emoji_status_custom_emoji_id?stringOptional. Custom emoji identifier of the emoji status of the chat or the other party in a private chat@gramio/types/out/objects.d.ts:381
emoji_status_expiration_date?numberOptional. Expiration date of the emoji status of the chat or the other party in a private chat, in Unix time, if any@gramio/types/out/objects.d.ts:385
first_name?stringOptional. First name of the other party in a private chat@gramio/types/out/objects.d.ts:309
first_profile_audio?TelegramAudioOptional. For private chats, the first audio added to the profile of the user@gramio/types/out/objects.d.ts:485
has_aggressive_anti_spam_enabled?trueOptional. True, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators.@gramio/types/out/objects.d.ts:445
has_hidden_members?trueOptional. True, if non-administrators can only get the list of bots and administrators in the chat@gramio/types/out/objects.d.ts:449
has_private_forwards?trueOptional. 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@gramio/types/out/objects.d.ts:393
has_protected_content?trueOptional. True, if messages from the chat can't be forwarded to other chats@gramio/types/out/objects.d.ts:453
has_restricted_voice_and_video_messages?trueOptional. True, if the privacy settings of the other party restrict sending voice and video note messages in the private chat@gramio/types/out/objects.d.ts:397
has_visible_history?trueOptional. True, if new chat members will have access to old messages; available only to chat administrators@gramio/types/out/objects.d.ts:457
idnumberUnique identifier for this chat. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.@gramio/types/out/objects.d.ts:293
invite_link?stringOptional. Primary invite link, for groups, supergroups and channel chats@gramio/types/out/objects.d.ts:413
is_direct_messages?trueOptional. True, if the chat is the direct messages chat of a channel@gramio/types/out/objects.d.ts:321
is_forum?trueOptional. True, if the supergroup chat is a forum (has topics enabled)@gramio/types/out/objects.d.ts:317
join_by_request?trueOptional. True, if all users directly joining the supergroup without using an invite link need to be approved by supergroup administrators@gramio/types/out/objects.d.ts:405
join_to_send_messages?trueOptional. True, if users need to join the supergroup before they can send messages@gramio/types/out/objects.d.ts:401
last_name?stringOptional. Last name of the other party in a private chat@gramio/types/out/objects.d.ts:313
linked_chat_id?numberOptional. Unique identifier for the linked chat, i.e. the discussion group identifier for a channel and vice versa; for supergroups and channel chats. This identifier may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier.@gramio/types/out/objects.d.ts:473
location?TelegramChatLocationOptional. For supergroups, the location to which the supergroup is connected@gramio/types/out/objects.d.ts:477
max_reaction_countnumberThe maximum number of reactions that can be set on a message in the chat@gramio/types/out/objects.d.ts:329
message_auto_delete_time?numberOptional. The time after which all messages sent to the chat will be automatically deleted; in seconds@gramio/types/out/objects.d.ts:441
paid_message_star_count?numberOptional. The number of Telegram Stars a general user have to pay to send a message to the chat@gramio/types/out/objects.d.ts:493
parent_chat?TelegramChatOptional. Information about the corresponding channel chat; for direct messages chats only@gramio/types/out/objects.d.ts:361
permissions?TelegramChatPermissionsOptional. Default chat member permissions, for groups and supergroups@gramio/types/out/objects.d.ts:421
personal_chat?TelegramChatOptional. For private chats, the personal channel of the user@gramio/types/out/objects.d.ts:357
photo?TelegramChatPhotoOptional. Chat photo@gramio/types/out/objects.d.ts:333
pinned_message?TelegramMessageOptional. The most recent pinned message (by sending date)@gramio/types/out/objects.d.ts:417
profile_accent_color_id?numberOptional. Identifier of the accent color for the chat's profile background. See profile accent colors for more details.@gramio/types/out/objects.d.ts:373
profile_background_custom_emoji_id?stringOptional. Custom emoji identifier of the emoji chosen by the chat for its profile background@gramio/types/out/objects.d.ts:377
rating?TelegramUserRatingOptional. For private chats, the rating of the user if any@gramio/types/out/objects.d.ts:481
slow_mode_delay?numberOptional. For supergroups, the minimum allowed delay between consecutive messages sent by each unprivileged user; in seconds@gramio/types/out/objects.d.ts:433
sticker_set_name?stringOptional. For supergroups, name of the group sticker set@gramio/types/out/objects.d.ts:461
title?stringOptional. Title, for supergroups, channels and group chats@gramio/types/out/objects.d.ts:301
typeTelegramChatFullInfoTypeType of the chat, can be either “private”, “group”, “supergroup” or “channel”@gramio/types/out/objects.d.ts:297
unique_gift_colors?TelegramUniqueGiftColorsOptional. The color scheme based on a unique gift that must be used for the chat's name, message replies and link previews@gramio/types/out/objects.d.ts:489
unrestrict_boost_count?numberOptional. For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions@gramio/types/out/objects.d.ts:437
username?stringOptional. Username, for private chats, supergroups and channels if available@gramio/types/out/objects.d.ts:305