| 1 | <?php |
||
| 21 | class PinChatMessage extends TelegramMethods |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Unique identifier for the target chat or username of the target supergroup or channel (in the format |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | public $chat_id = ''; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Identifier of a message to pin |
||
| 31 | * @var int |
||
| 32 | */ |
||
| 33 | public $message_id = 0; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Optional. Pass True, if it is not necessary to send a notification to all group members about the new pinned |
||
| 37 | * message |
||
| 38 | * @var bool |
||
| 39 | */ |
||
| 40 | public $disable_notification = false; |
||
| 41 | |||
| 42 | public static function bindToObject(TelegramRawData $data, LoggerInterface $logger): TelegramTypes |
||
| 46 | |||
| 47 | public function getMandatoryFields(): array |
||
| 54 | } |
||
| 55 |