Skip to content

Commit 53939e8

Browse files
committed
Added support for Multiple Usernames via the field active_usernames in the class Chat.
Added the field emoji_status_custom_emoji_id to the class Chat.
1 parent 571205c commit 53939e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Entities/Chat.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
* @method string getLastName() Optional. Last name of the other party in a private chat
2727
* @method bool getIsForum() Optional. True, if the supergroup chat is a forum (has topics enabled)
2828
* @method ChatPhoto getPhoto() Optional. Chat photo. Returned only in getChat.
29+
* @method string[] getActiveUsernames() Optional. If non-empty, the list of all active chat usernames; for private chats, supergroups and channels. Returned only in getChat.
30+
* @method string getEmojiStatusCustomEmojiId() Optional. Custom emoji identifier of emoji status of the other party in a private chat. Returned only in getChat.
2931
* @method string getBio() Optional. Bio of the other party in a private chat. Returned only in getChat.
3032
* @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.
3133
* @method bool getHasRestrictedVoiceAndVideoMessages() Optional. True, if the privacy settings of the other party restrict sending voice and video note messages in the private chat. Returned only in getChat.

0 commit comments

Comments
 (0)