Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 1a5e2f0

Browse files
committed
GetChat now also returns sticker set information
1 parent ddd5e16 commit 1a5e2f0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Telegram/Types/Chat.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,18 @@ class Chat extends TelegramTypes
8383
*/
8484
public $pinned_message;
8585

86+
/**
87+
* Optional. For supergroups, name of Group sticker set. Returned only in getChat
88+
* @var string
89+
*/
90+
public $sticker_set_name = '';
91+
92+
/**
93+
* Optional. True, if the bot can change group the sticker set. Returned only in getChat
94+
* @var bool
95+
*/
96+
public $can_set_sticker_set = false;
97+
8698
public function mapSubObjects(string $key, array $data): TelegramTypes
8799
{
88100
switch ($key) {

0 commit comments

Comments
 (0)