diff --git a/data/core.telegram.org/method/account.saveAutoDownloadSettings b/data/core.telegram.org/method/account.saveAutoDownloadSettings new file mode 100644 index 0000000000..02b7ae12c7 --- /dev/null +++ b/data/core.telegram.org/method/account.saveAutoDownloadSettings @@ -0,0 +1,165 @@ + + + + + account.saveAutoDownloadSettings + + + + + + + + + + + + + +
+ +
+
+
+ +

account.saveAutoDownloadSettings

+ +

Change media autodownload settings

+

+
boolFalse#bc799737 = Bool;
+boolTrue#997275b5 = Bool;
+---functions---
+account.saveAutoDownloadSettings#76f36233 flags:# low:flags.0?true high:flags.1?true settings:AutoDownloadSettings = Bool;

+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
flags#Flags, see TL conditional fields
lowflags.0?trueWhether to save settings in the low data usage preset
highflags.1?trueWhether to save settings in the high data usage preset
settingsAutoDownloadSettingsMedia autodownload settings
+

Result

+

Bool

+ +
+ +
+
+ +
+ + + + + + diff --git a/data/core.telegram.org/method/help.getPromoData b/data/core.telegram.org/method/help.getPromoData new file mode 100644 index 0000000000..9b1365c18d --- /dev/null +++ b/data/core.telegram.org/method/help.getPromoData @@ -0,0 +1,136 @@ + + + + + help.getPromoData + + + + + + + + + + + + + +
+ +
+
+
+ +

help.getPromoData

+ +

Get MTProxy/Public Service Announcement information

+

+
help.promoDataEmpty#98f6ac75 expires:int = help.PromoData;
+help.promoData#8c39793f flags:# proxy:flags.0?true expires:int peer:Peer chats:Vector<Chat> users:Vector<User> psa_type:flags.1?string psa_message:flags.2?string = help.PromoData;
+---functions---
+help.getPromoData#c0977421 = help.PromoData;

+

Parameters

+

This constructor does not require any parameters.

+

Result

+

help.PromoData

+

Bots can use this method

+ +
+ +
+
+ +
+ + + + + +