Skip to content

Commit 13bd156

Browse files
committed
Missing message_auto_delete_time field in Chat Entity. (Undocumented Change in Bot API Changelog, but probably added with Bot API 5.1)
1 parent bbebca6 commit 13bd156

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
@@ -32,6 +32,7 @@
3232
* @method Message getPinnedMessage() Optional. Pinned message, for groups, supergroups and channels. Returned only in getChat.
3333
* @method ChatPermissions getPermissions() Optional. Default chat member permissions, for groups and supergroups. Returned only in getChat.
3434
* @method int getSlowModeDelay() Optional. For supergroups, the minimum allowed delay between consecutive messages sent by each unpriviledged user. Returned only in getChat.
35+
* @method int getMessageAutoDeleteTime() Optional. The time after which all messages sent to the chat will be automatically deleted; in seconds. Returned only in getChat.
3536
* @method bool getHasProtectedContent() Optional. True, if messages from the chat can't be forwarded to other chats. Returned only in getChat.
3637
* @method string getStickerSetName() Optional. For supergroups, name of group sticker set. Returned only in getChat.
3738
* @method bool getCanSetStickerSet() Optional. True, if the bot can change the group sticker set. Returned only in getChat.

0 commit comments

Comments
 (0)