Skip to content

Commit 4e6034d

Browse files
committed
Added the field has_private_forwards to the Chat entity
1 parent 3ea3296 commit 4e6034d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Entities/Chat.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* @method string getLastName() Optional. Last name of the other party in a private chat
2727
* @method ChatPhoto getPhoto() Optional. Chat photo. Returned only in getChat.
2828
* @method string getBio() Optional. Bio of the other party in a private chat. Returned only in getChat.
29+
* @method bool getHasPrivateForwards() Optional. 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. Returned only in getChat.
2930
* @method string getDescription() Optional. Description, for groups, supergroups and channel chats. Returned only in getChat.
3031
* @method string getInviteLink() Optional. Chat invite link, for groups, supergroups and channel chats. Each administrator in a chat generates their own invite links, so the bot must first generate the link using exportChatInviteLink. Returned only in getChat.
3132
* @method Message getPinnedMessage() Optional. Pinned message, for groups, supergroups and channels. Returned only in getChat.

0 commit comments

Comments
 (0)