| 1 | <?php |
||
| 16 | class ForwardMessage extends TelegramMethods |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Unique identifier for the target chat or username of the target channel (in the format @channelusername) |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | public $chat_id = ''; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Unique identifier for the chat where the original message was sent (or channel username in the |
||
| 26 | * format @channelusername) |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | public $from_chat_id = ''; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Optional. Sends the message silently. iOS users will not receive a notification, Android users will receive a |
||
| 33 | * notification with no sound. |
||
| 34 | * @see https://telegram.org/blog/channels-2-0#silent-messages |
||
| 35 | * @var bool |
||
| 36 | */ |
||
| 37 | public $disable_notification = false; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Unique message identifier |
||
| 41 | * @var int |
||
| 42 | */ |
||
| 43 | public $message_id = 0; |
||
| 44 | |||
| 45 | public function getMandatoryFields(): array |
||
| 53 | } |
||
| 54 |