ChatFull Class
extends BaseRepresents a chat
Properties
accentColorIdactiveUsernamesavailableReactionsbackgroundCustomEmojiIdbiobirthdatebusinessIntrobusinessLocationbusinessOpeningHourscanSendPaidMediacanSetStickerSetclientcustomEmojiStickerSetNamedescriptionemojiStatusCustomEmojiIdemojiStatusExpirationDatefirstNamehasAggresiveAntiSpamEnabledhasHiddenMembershasPrivateForwardshasProtectedContenthasRestrictedVoiceAndVideoMessageshasVisibleHistoryidinviteLinkisForumjoinByRequestjoinToSendMessageslastNamelinkedChatIdlocationmaxReactionCountmessageAutoDeleteTimepermissionspersonalChatphotopinnedMessageprofileAccentColorIdprofileBackgroundCustomEmojiIdslowModeDelaystickerSetNametitletypeunrestrictBoostCountusernameMethods
approveJoinRequestbanMemberbanSenderChatcloseForumTopiccloseGeneralForumTopiccreateForumTopiccreateInviteLinkdeclineJoinRequestdeleteForumTopicdeleteMyCommandsdeletePhotodeleteStickerSeteditForumTopiceditGeneralForumTopiceditInviteLinkexportInviteLinkgetAdministratorsgetMembergetMemberCountgetMenuButtongetMyCommandshideGeneralForumTopicleavepinMessagepromoteMemberreopenForumTopicreopenGeneralForumTopicrestrictMemberrevokeInviteLinksendAnimationsendAudiosendChatActionsendContactsendDicesendDocumentsendInvoicesendLocationsendMediaGroupsendMessagesendPhotosendPollsendStickersendVenuesendVideosendVideoNotesendVoicesetAdministratorCustomTitlesetDescriptionsetMenuButtonsetMyCommandssetPermissionssetPhotosetStickerSetsetTitleunbanMemberunbanSenderChatunhideGeneralForumTopicunpinAllForumTopicMessagesunpinAllMessagesunpinMessageProperties
accentColorId number
Identifier of the accent color for the chat name and backgrounds of the chat photo, reply header,and link preview.
See the codeactiveUsernames
The list of all active chat usernames; for private chats, supergroups and channels.
See the codeavailableReactions
List of available reactions allowed in the chat. If omitted, then all emoji reactions are allowed.
See the codebackgroundCustomEmojiId string
Custom emoji identifier of the emoji chosen by the chat for the reply header and link preview background
See the codebusinessIntro BusinessIntro
For private chats with business accounts, the intro of the business
See the codebusinessLocation BusinessLocation
For private chats with business accounts, the location of the business
See the codebusinessOpeningHours BusinessOpeningHours
For private chats with business accounts, the opening hours of the business
See the codecanSendPaidMedia boolean
*true*, if paid media messages can be sent or forwarded to the channel chat. The field is available only for channel chats.
See the codeclient Client
See the codecustomEmojiStickerSetName string
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.
See the codeemojiStatusCustomEmojiId string
Custom emoji identifier of emoji status of the other party in a private chat.
See the codeemojiStatusExpirationDate Date
Expiration date of the emoji status of the chat or the other party in a private chat
See the codehasAggresiveAntiSpamEnabled boolean
*true*, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators.
See the codehasHiddenMembers boolean
*true*, if non-administrators can only get the list of bots and administrators in the chat.
See the codehasPrivateForwards boolean
*true*, if privacy settings of the other party in the private chat allows to use
See the codehasProtectedContent boolean
*true*, if messages from the chat can't be forwarded to other chats.
See the codehasRestrictedVoiceAndVideoMessages boolean
*true*, if the privacy settings of the other party restrict sending voice and video note messages in the private chat.
See the codehasVisibleHistory boolean
*true*, if messages from the chat can't be forwarded to other chats
See the codejoinByRequest boolean
*true*, if all users directly joining the supergroup need to be approved by supergroup administrators.
See the codejoinToSendMessages boolean
*true*, if users need to join the supergroup before they can send messages.
See the codelinkedChatId number
Unique identifier for the linked chat, i.e. the discussion group identifier for a channel and vice versa; for supergroups and channel chats.
See the codelocation ChatLocation
For supergroups, the location to which the supergroup is connected.
See the codemaxReactionCount number
The maximum number of reactions that can be set on a message in the chat
See the codemessageAutoDeleteTime number
The time after which all messages sent to the chat will be automatically deleted; in seconds.
See the codepermissions ChatPermissions
Default chat member permissions, for groups and supergroups.
See the codeprofileAccentColorId number
Identifier of the accent color for the chat's profile background.
See the codeprofileBackgroundCustomEmojiId string
Custom emoji identifier of the emoji chosen by the chat for its profile background
See the codeslowModeDelay number
For supergroups, the minimum allowed delay between consecutive messages sent by each unpriviledged user; in seconds.
See the codeunrestrictBoostCount number
For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions
See the code