diff --git a/data/corefork.telegram.org/api/geochats.html b/data/corefork.telegram.org/api/geochats.html deleted file mode 100644 index dff2edd21e..0000000000 --- a/data/corefork.telegram.org/api/geochats.html +++ /dev/null @@ -1,115 +0,0 @@ - - -
- -Deprecated old docs. This was definitely not the droid you were looking for.
Available chat themes
-Constructor schema is available as of layer 134. Switch »
-Name | -Type | -Description | -
---|---|---|
hash | -int | -Hash for pagination, for more info click here | -
themes | -Vector<ChatTheme> | -Available chat themes | -
How to fetch results from large lists of objects.
Contains info on a confirmation code message sent via Telegram.
-You can force resending the message via SMS by invoking the method auth.sendSms.
-Constructor schema is available as of layer 50. Switch »
-Name | -Type | -Description | -
---|---|---|
phone_registered | -Bool | -The given number corresponds to a registered Telegram user | -
phone_code_hash | -string | -Message identifier | -
send_call_timeout | -int | -Delay in seconds before calling auth.sendCall | -
is_password | -Bool | -The sent code is a text password | -
New document with a thumbnail.
-Constructor schema is available as of layer 22. Switch »
-Name | -Type | -Description | -
---|---|---|
file | -InputFile | -Document, saved in parts by using the methods upload.saveFilePart or upload.saveBigFilePart | -
thumb | -InputFile | -Thumbnail file, saved in parts by using upload.saveFilePart | -
file_name | -string | -File name with extension | -
mime_type | -string | -File MIME-type | -
Info on successfully sent message and on changes links.
-Constructor schema is available as of layer 24. Switch »
-Name | -Type | -Description | -
---|---|---|
id | -int | -Message ID | -
date | -int | -Date of sending | -
pts | -int | -New value of pts parameter of a current state | -
seq | -int | -New value of seq parameter of a current state | -
links | -Vector<contacts.Link> | -List of changes links | -
Message with auxiliary data, state data and the list of changed links.
-Constructor schema is available as of layer 24. Switch »
-Name | -Type | -Description | -
---|---|---|
message | -Message | -Message | -
chats | -Vector<Chat> | -List of chats mentioned in message | -
users | -Vector<User> | -List of users mentioned in message and chats | -
links | -Vector<contacts.Link> | -List of changed links | -
pts | -int | -Number of events occurred in text box | -
seq | -int | -Number of sent updates | -
Message with auxiliary data, state data and the list of changed links.
-Constructor schema is available as of layer 24. Switch »
-Name | -Type | -Description | -
---|---|---|
messages | -Vector<Message> | -List of messages | -
chats | -Vector<Chat> | -List of cats mentioned in messages | -
users | -Vector<User> | -List of users mentioned in messages and chats | -
links | -Vector<contacts.Link> | -List of changed links | -
pts | -int | -Number of event occurred in a text box | -
seq | -int | -Number of sent updates | -
User was added to the blacklist (method contacts.block) or removed from the blacklist (method contacts.unblock).
-Constructor schema is available as of layer 119. Switch »
-Name | -Type | -Description | -
---|---|---|
user_id | -int | -User id | -
blocked | -Bool | -(boolTrue) if the the user is blocked | -
The constructor can be interpreted as a booleantrue
value.
Adds the user to the blacklist.
-Deletes the user from the blacklist.
One-color background wallpaper (no image).
-Constructor schema is available as of layer 93. Switch »
-Name | -Type | -Description | -
---|---|---|
id | -int | -Identifier | -
title | -string | -Name | -
bg_color | -int | -Background color (RGB) | -
color | -int | -Basic background color (RGB) | -
Makes a voice call to the passed phone number. A robot will repeat the confirmation code from a previously sent SMS message.
-{schema}
-Name | -Type | -Description | -
---|---|---|
phone_number | -string | -Phone number in the international format | -
phone_code_hash | -string | -SMS-message ID | -
(auth.sendCall "79991234567" "2dc02d2cda9e615c84")
-=
-(boolTrue)
-
-03c51564 3939370b 33323139 37363534 63643212 32643230 39616463 35313665 00343863 64e1a61b
-=
-997275b5
-Code | -Type | -Description | -
---|---|---|
400 | -PHONE_NUMBER_INVALID | -Invalid phone number | -
400 | -PHONE_CODE_HASH_EMPTY | -phone_code_hash was not sent | -
400 | -PHONE_CODE_EXPIRED | -SMS expired | -
Forces sending an SMS message to the specified phone number. Use this method if auth.sentAppCode was returned as a response to auth.sendCode, but the user can't reach the device with Telegram.
-{schema}
-Name | -Type | -Description | -
---|---|---|
phone_number | -string | -Phone number in international format | -
phone_code_hash | -string | -SMS-message ID | -
Code | -Type | -Description | -
---|---|---|
400 | -PHONE_NUMBER_INVALID | -Invalid phone number | -
400 | -PHONE_CODE_HASH_EMPTY | -phone_code_hash was not sent | -
400 | -PHONE_CODE_EXPIRED | -SMS expired | -
Forwards single messages.
-{schema}
-Name | -Type | -Description | -
---|---|---|
peer | -InputPeer | -User or chat where a message will be forwarded | -
id | -int | -Forwarded message ID | -
random_id | -long | -Unique client message ID required to prevent message resending | -
Code | -Type | -Description | -
---|---|---|
400 | -CHAT_ID_INVALID | -The provided chat id is invalid | -
400 | -MESSAGE_ID_INVALID | -The provided message id is invalid | -
400 | -PEER_ID_INVALID | -The provided peer id is invalid | -
400 | -YOU_BLOCKED_USER | -You blocked this user | -
Sends multiple messages to contacts.
-{schema}
-Name | -Type | -Description | -
---|---|---|
contacts | -Vector<InputUser> | -List of user ID to whom a message will be sent | -
message | -string | -Message text | -
media | -InputMedia | -Message media-contents | -
Edit information about a given group call participant
- Method schema is available as of layer 123. Switch »
-flags | -# | -Flags, see TL conditional fields | -
muted | -flags.0?true | -Whether to mute or unmute the user | -
call | -InputGroupCall | -Group call | -
user_id | -InputUser | -The user in question | -
Object describes the connection between a certain user and the current authorized user.
-
Object contains info on one message with auxiliary data and data on the current state of updates.
-
Object contains info on the list of messages with auxiliary data and data on current state of updates.
-