Closed pasya1912 closed 2 years ago
Hi. You have error in request. InviteToChannel requires one argument array. You provided two arguments.
Try this way:
http://127.0.0.1:9503/api/session/channels.inviteToChannel/?data[channel]=688336041&data[users][]=@raflipasya19
im going to invite my account to a group
the madelineproto will be : $MadelineProto->channels->InviteToChannel(['channel'=>'688336041','users'=>['@raflipasya19']]); its work properly.
so i tried the API version ( this repo ).
http://127.0.0.1:9503/api/session/channels.inviteToChannel/?channel=688336041&users[]=@raflipasya19
but the response always:
Any help ?