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

[Question] How can I get Telegram settings? #3086

Closed cherryymerryy closed 2 weeks ago

cherryymerryy commented 2 weeks ago

How can I get or change various parameters inside Telegram? (For example, notifications or privacy and security

levlam commented 2 weeks ago

There are separate methods for each setting. Notifications are changed using setChatNotificationSettings, setScopeNotificationSettings, setForumTopicNotificationSettings and other relevant methods. Privacy settings can be changed using setUserPrivacySettingRules, setReadDatePrivacySettings and other relevant methods.

I suggest to overview https://github.com/tdlib/td/blob/master/td/generate/scheme/td_api.tl once to familiarize with the existing methods.

Scutua commented 2 weeks ago

I think they have too many more peoples. I start tried already mornings until mornings. I n full month already. 🙃