version: 2.1.3
forward2users
forward a message to all users(receive data from database), for now this method cannot work fine on large amount of targets
Parameters
chat_id | int or string | The location of message | Yes |
message_id | int | message id for forward | Yes |
forward | Boolean | Send message as forward(with author name) or as copy(without author name) | Optional(true) |
Method errors
ErrorName | description |
---|---|
chat_id parameter not found | parameter chat_id not founded , set it like example |
message_id parameter not found | parameter message_id not founded , set it like example |
Method examples
$this->forward2users(['chat_id'=>'123456789','message_id'=>'123']);