I use MadelineProtoDocs to create a userbot that do tasks I want. What I want to do is that I want to Join more than one group at once!
I have used
$MadelineProto->messages->importChatInvite(['hash' => 'HASH_CODE']);
It works when I put a hashcode for one group, but when I put more than one like this:
$MadelineProto->messages->importChatInvite(['hash' => ['HASH_CODE', 'HASH_CODE2']);
it doesn’t work
I also tried:
$MadelineProto->channels->joinChannel(['channel' => [InputChannel, InputChannel], ]);
it also doesn’t work!