You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param array $messages The messages to send: an array of arrays, containing parameters to pass to messages.sendMessage.
55
54
* @param bool $pin Whether to also pin the last sent message.
56
55
* @param float|null $delay Number of seconds to wait between each peer.
57
-
* @param ?Cancellation $cancellation Cancellation. Note: you may also use cancelBroadcast with the returned broadcast ID. Be aware that when running via web with limited execution time, the broadcast will continue correctly after a restart and cancelBroadcast will still be usable, but the cancellation that is passed here will not be usable.
* Forwards a list of messages to all peers (users, chats, channels) of the bot.
@@ -92,11 +90,10 @@ public function broadcastMessages(array $messages, ?Filter $filter = null, bool
92
90
* @param bool $drop_author If true, will forward messages without quoting the original author.
93
91
* @param bool $pin Whether to also pin the last sent message.
94
92
* @param float|null $delay Number of seconds to wait between each peer.
95
-
* @param ?Cancellation $cancellation Cancellation. Note: you may also use cancelBroadcast with the returned broadcast ID. Be aware that when running via web with limited execution time, the broadcast will continue correctly after a restart and cancelBroadcast will still be usable, but the cancellation that is passed here will not be usable.
@@ -113,16 +110,14 @@ public function broadcastForwardMessages(mixed $from_peer, array $message_ids, b
113
110
*
114
111
* @param Action $action A custom, serializable Action class that will be called once for every peer.
115
112
* @param float|null $delay Number of seconds to wait between each peer.
116
-
* @param ?Cancellation $cancellation Cancellation. Note: you may also use cancelBroadcast with the returned broadcast ID. Be aware that when running via web with limited execution time, the broadcast will continue correctly after a restart and cancelBroadcast will still be usable, but the cancellation that is passed here will not be usable.
Copy file name to clipboardExpand all lines: src/InternalDoc.php
+6-9
Original file line number
Diff line number
Diff line change
@@ -250,11 +250,10 @@ final public function botLogin(string $token): ?array
250
250
*
251
251
* @param Action $action A custom, serializable Action class that will be called once for every peer.
252
252
* @param float|null $delay Number of seconds to wait between each peer.
253
-
* @param ?Cancellation $cancellation Cancellation. Note: you may also use cancelBroadcast with the returned broadcast ID. Be aware that when running via web with limited execution time, the broadcast will continue correctly after a restart and cancelBroadcast will still be usable, but the cancellation that is passed here will not be usable.
* Forwards a list of messages to all peers (users, chats, channels) of the bot.
@@ -273,11 +272,10 @@ final public function broadcastCustom(\danog\MadelineProto\Broadcast\Action $act
273
272
* @param bool $drop_author If true, will forward messages without quoting the original author.
274
273
* @param bool $pin Whether to also pin the last sent message.
275
274
* @param float|null $delay Number of seconds to wait between each peer.
276
-
* @param ?Cancellation $cancellation Cancellation. Note: you may also use cancelBroadcast with the returned broadcast ID. Be aware that when running via web with limited execution time, the broadcast will continue correctly after a restart and cancelBroadcast will still be usable, but the cancellation that is passed here will not be usable.
* Sends a list of messages to all peers (users, chats, channels) of the bot.
@@ -296,11 +294,10 @@ final public function broadcastForwardMessages(mixed $from_peer, array $message_
296
294
* @param array $messages The messages to send: an array of arrays, containing parameters to pass to messages.sendMessage.
297
295
* @param bool $pin Whether to also pin the last sent message.
298
296
* @param float|null $delay Number of seconds to wait between each peer.
299
-
* @param ?Cancellation $cancellation Cancellation. Note: you may also use cancelBroadcast with the returned broadcast ID. Be aware that when running via web with limited execution time, the broadcast will continue correctly after a restart and cancelBroadcast will still be usable, but the cancellation that is passed here will not be usable.
0 commit comments