Closed KarimQaderi closed 5 months ago
This error indicates that a specified peer (user, chat, channel) was not found in the internal MadelineProto peer database.
This can be because the user(bot) has never seen the peer before in the dialog list or in a chat.
This error can also be caused by an invalid ID, extracted manually from an update, instead of using the correct $this->getID($update)
function.
This error can also be caused by referring to a user/chat/channel by its bot API ID, only if the (user)bot has never seen the peer before.
In this case, resolving a user/chat/channel @username
with getInfo or importing an invite link with messages.importChatInvite, or (for users) enabling the setCacheAllPeersOnStartup setting will automatically cache the peer into the database, allowing you to use the bot API ID again.
@danog
I have already collected a list of ids and usernames(more than 4000), I want to add these people to the group and I still have a problem with the message.
would you be nice enough to explain it?
hi
v beta 188
error This peer is not present in the internal peer database