You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://telegram.me/PHP_Telegram_Bot_Support)
Copy file name to clipboardExpand all lines: src/Entities/Chat.php
+2
Original file line number
Diff line number
Diff line change
@@ -47,13 +47,15 @@
47
47
* @method Message getPinnedMessage() Optional. Pinned message, for groups, supergroups and channels. Returned only in getChat.
48
48
* @method ChatPermissions getPermissions() Optional. Default chat member permissions, for groups and supergroups. Returned only in getChat.
49
49
* @method int getSlowModeDelay() Optional. For supergroups, the minimum allowed delay between consecutive messages sent by each unpriviledged user. Returned only in getChat.
50
+
* @method int getUnrestrictBoostCount() Optional. For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions.
50
51
* @method int getMessageAutoDeleteTime() Optional. The time after which all messages sent to the chat will be automatically deleted; in seconds. Returned only in getChat.
51
52
* @method bool getHasAggressiveAntiSpamEnabled() Optional. True, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat administrators. Returned only in getChat.
52
53
* @method bool getHasHiddenMembers() Optional. True, if non-administrators can only get the list of bots and administrators in the chat. Returned only in getChat.
53
54
* @method bool getHasProtectedContent() Optional. True, if messages from the chat can't be forwarded to other chats. Returned only in getChat.
54
55
* @method bool getHasVisibleHistory() Optional. True, if new chat members will have access to old messages; available only to chat administrators
55
56
* @method string getStickerSetName() Optional. For supergroups, name of group sticker set. Returned only in getChat.
56
57
* @method bool getCanSetStickerSet() Optional. True, if the bot can change the group sticker set. Returned only in getChat.
58
+
* @method string getCustomEmojiStickerSetName() Optional. 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.
57
59
* @method int getLinkedChatId() Optional. Unique identifier for the linked chat. Returned only in getChat.
58
60
* @method ChatLocation getLocation() Optional. For supergroups, the location to which the supergroup is connected. Returned only in getChat.
* @method int getMessageId() Unique message identifier
41
-
* @method int getMessageThreadId() Optional. Unique identifier of a message thread to which the message belongs; for supergroups only
41
+
* @method int getMessageThreadId() Optional. Unique identifier of a message thread to which the message belongs;
42
+
for supergroups only
42
43
* @method User getFrom() Optional. Sender, can be empty for messages sent to channels
43
44
* @method Chat getSenderChat() Optional. Sender of the message, sent on behalf of a chat. The channel itself for channel messages. The supergroup itself for messages from anonymous group administrators. The linked channel for messages automatically forwarded to the discussion group
45
+
* @method int getSenderBoostCount() Optional. If the sender of the message boosted the chat, the number of boosts added by the user
44
46
* @method int getDate() Date the message was sent in Unix time
45
47
* @method Chat getChat() Conversation the message belongs to
46
48
* @method MessageOrigin getForwardOrigin() Optional. Information about the original message for forwarded messages
@@ -49,6 +51,7 @@
49
51
* @method ReplyToMessage getReplyToMessage() Optional. For replies, the original message. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply.
50
52
* @method ExternalReplyInfo getExternalReply() Optional. Information about the message that is being replied to, which may come from another chat or forum topic
51
53
* @method TextQuote getQuote() Optional. For replies that quote part of the original message, the quoted part of the message
54
+
* @method Story getReplyToStory() Optional. For replies to a story, the original story
52
55
* @method User getViaBot() Optional. Bot through which the message was sent
53
56
* @method int getEditDate() Optional. Date the message was last edited in Unix time
54
57
* @method bool getHasProtectedContent() Optional. True, if the message can't be forwarded
@@ -94,6 +97,7 @@
94
97
* @method WriteAccessAllowed getWriteAccessAllowed() Optional. Service message: the user allowed the bot added to the attachment menu to write messages
95
98
* @method PassportData getPassportData() Optional. Telegram Passport data
96
99
* @method ProximityAlertTriggered getProximityAlertTriggered() Optional. Service message. A user in the chat triggered another user's proximity alert while sharing Live Location.
100
+
* @method ChatBoostAdded getBoostAdded() Optional. Service message: user boosted the chat
97
101
* @method ForumTopicCreated getForumTopicCreated() Optional. Service message: forum topic created
98
102
* @method ForumTopicEdited getForumTopicEdited() Optional. Service message: forum topic edited
99
103
* @method ForumTopicClosed getForumTopicClosed() Optional. Service message: forum topic closed
@@ -126,6 +130,7 @@ protected function subEntities(): array
0 commit comments