We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 339bb2c commit 5c52783Copy full SHA for 5c52783
1 file changed
src/Connection.php
@@ -328,7 +328,9 @@ public function wakeupHandler(MTProtoIncomingMessage $message): void
328
*/
329
private function methodAbstractions(string &$method, array &$arguments): void
330
{
331
- if ($method === 'messages.importChatInvite' && isset($arguments['hash']) && \is_string($arguments['hash']) && $r = Tools::parseLink($arguments['hash'])) {
+ if ($method === 'messages.sendPaidReaction') {
332
+ $arguments['random_id'] = (time() << 32) | random_int(0, 0xFF_FF_FF_FF);
333
+ } elseif ($method === 'messages.importChatInvite' && isset($arguments['hash']) && \is_string($arguments['hash']) && $r = Tools::parseLink($arguments['hash'])) {
334
[$invite, $content] = $r;
335
if ($invite) {
336
$arguments['hash'] = $content;
0 commit comments