if result == "ChannelInvalidError":
print(result)
await client(ImportChatInviteRequest(chat_id))
else:
print(result)
Is it possible to join a chat or channel knowing its id?
Error:
Cannot find any entity corresponding to "id"|
joining by username works fine
await client(JoinChannelRequest(channel=username))
Only if the id is cached, and you passed wrongly as string now. use integer
It didn't. for chats you have not joined, seeing the chat once aka caching it is necessary to use it in requests
Got it, thanks for your help
will try
doesnt work
Обсуждают сегодня