diff --git a/data/core.telegram.org/constructor/globalPrivacySettings.html b/data/core.telegram.org/constructor/globalPrivacySettings.html new file mode 100644 index 0000000000..be9670740e --- /dev/null +++ b/data/core.telegram.org/constructor/globalPrivacySettings.html @@ -0,0 +1,152 @@ + + +
+ +Global privacy settings
+globalPrivacySettings#bea2f424 flags:# archive_and_mute_new_noncontact_peers:flags.0?Bool = GlobalPrivacySettings;
+Name | +Type | +Description | +
---|---|---|
flags | +# | +Flags, see TL conditional fields | +
archive_and_mute_new_noncontact_peers | +flags.0?Bool | +Whether to archive and mute new chats from non-contacts | +
Text of a text message with an invitation to install Telegram.
+help.inviteText#18cb9f78 message:string = help.InviteText;
+Name | +Type | +Description | +
---|---|---|
message | +string | +Text of the message | +
Message entity representing a codeblock
.
messageEntityCode#28a20571 offset:int length:int = MessageEntity;
+Name | +Type | +Description | +
---|---|---|
offset | +int | +Offset of message entity within message (in UTF-8 codepoints) | +
length | +int | +Length of message entity within message (in UTF-8 codepoints) | +
Get all saved Telegram Passport documents, for more info see the passport docs »
+---functions---
+account.getAllSecureValues#b288bc7d = Vector<SecureValue>;
+This constructor does not require any parameters.
+Contains info on message sent to an encrypted chat.
+messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage;
+messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage;
+
+---functions---
+
+messages.sendEncrypted#44fa7a15 flags:# silent:flags.0?true peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;
+messages.sendEncryptedFile#5559481d flags:# silent:flags.0?true peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage;
+messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;
+Constructor | +Description | +
---|---|
messages.sentEncryptedMessage | +Message without file attachemts sent to an encrypted file. | +
messages.sentEncryptedFile | +Message with a file enclosure sent to a protected chat | +
Method | +Description | +
---|---|
messages.sendEncrypted | +Sends a text message to a secret chat. | +
messages.sendEncryptedFile | +Sends a message with a file attachment to a secret chat | +
messages.sendEncryptedService | +Sends a service message to a secret chat. | +