xtrime-ru / TelegramApiServer

Fast, simple, async php telegram api server: MadelineProto + Amp HTTP Server
https://tg.i-c-a.su
MIT License
575 stars 129 forks source link

Could not find channels.getParticipants in new_outgoing #102

Closed jaynlive closed 2 years ago

jaynlive commented 2 years ago

use getPwrChat methond doc: https://docs.madelineproto.xyz/getPwrChat.html

When the group members are very large,request always error. request this is error

http://127.0.0.1:9503/api/session/user2/getPwrChat?id=@BtokCN_008

the php server.php log return large [2022-08-22 20:15:11] [critical] Could not find channels.getParticipants in new_outgoing!

when change a group with a small number of group members,it work well. like

http://127.0.0.1:9503/api/session/user2/getPwrChat?id=@r6jhd6y35yi

it return ok.

How should I do request with a large member of supergroup.

xtrime-ru commented 2 years ago

This is old issue from madelineProto: https://github.com/danog/MadelineProto/issues/963

There is no ETA for fix. Only workaround i know retry request later, maybe restart client.

danog commented 2 years ago

This is technically not a bug, you will get these errors if there's a large amount of pending requests being processed by the server, they will go away once the server replies to them.