Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use tdlib for join chats #2209

Closed
doronmakela opened this issue Nov 23, 2022 · 5 comments
Closed

use tdlib for join chats #2209

doronmakela opened this issue Nov 23, 2022 · 5 comments

Comments

@doronmakela
Copy link

doronmakela commented Nov 23, 2022

I wanted to know if it is possible to join private and secrets chats?
get chat with chat id is not working I get response with status code 400 "chat not found"
there is any way that allowing joining to chat by id?
i tried addChatMember and joinChat
Thanks.

@levlam
Copy link
Contributor

levlam commented Nov 23, 2022

You can't join a chat just by ID.

@doronmakela
Copy link
Author

doronmakela commented Nov 24, 2022

what is the logic for joining secret and private chats?
how can I join, for example how telegram x allow joining chats via a button

@levlam
Copy link
Contributor

levlam commented Nov 24, 2022

You need first to find the chat, before you can join it.

@doronmakela
Copy link
Author

getChat
returning chat not found because it's a private or secret, how can I find it before?

@levlam
Copy link
Contributor

levlam commented Nov 24, 2022

In the same way you would do this through an app.

@levlam levlam closed this as completed Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants