tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

how to get folder_id by folder name? #3100

Open shared-object opened 1 week ago

shared-object commented 1 week ago

how to get folder_id by folder name??

levlam commented 6 days ago

The list of all folders is received through the update `updateChatFolders, so you can do this yourself, but be aware that multiple chat folders can have the same name.

shared-object commented 6 days ago

i see that there is parameter chatfolders in method, is array of chat folders. Why?

shared-object commented 6 days ago

or how to call it right

shared-object commented 6 days ago

image image image

that is how i call it

levlam commented 6 days ago

See https://core.telegram.org/tdlib/getting-started.

shared-object commented 6 days ago

ok, thx, but now i have another problem: image its crashes randomly

levlam commented 6 days ago

This is unlikely to be an issue with TDLib.

shared-object commented 6 days ago

its issue with python wrapper or with my pc then?

levlam commented 6 days ago

This is an issue with code.