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

How to get a list of folders? #2765

Closed
azkadev opened this issue Jan 18, 2024 · 4 comments
Closed

How to get a list of folders? #2765

azkadev opened this issue Jan 18, 2024 · 4 comments

Comments

@azkadev
Copy link

azkadev commented Jan 18, 2024

Screenshot from 2024-01-19 01-18-31

@azkadev
Copy link
Author

azkadev commented Jan 18, 2024

and how to use this method addChatFolderByInviteLink

I'm confused about adding the chat_ids parameters

@azkadev
Copy link
Author

azkadev commented Jan 18, 2024

and how to use this method addChatFolderByInviteLink

I'm confused about adding the chat_ids parameters

I used the checkChatFolderInviteLink method first then used this addChatFolderByInviteLink and it worked

@levlam
Copy link
Contributor

levlam commented Jan 18, 2024

You just need to handle updateChatFolders update for this. There is no need to get chat folders explicitly.

addChatFolderByInviteLink needs to be used only while processing links of the type internalLinkTypeChatFolderInvite after successful checkChatFolderInviteLink call. All parameters can be received from checkChatFolderInviteLink response.

@azkadev
Copy link
Author

azkadev commented Jan 18, 2024

updateChatFolders

@azkadev azkadev closed this as completed Jan 18, 2024
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