Telegram MTProto
طبقة TL 236عدد الطرق: 899OpenAPI 3.0.3

MTProto reference

messages.reportMessagesDelivery

Used for Telegram Gateway verification messages »: indicate to the server that one or more messages were received by the client, if requested by the message.**report\_delivery\_until\_date** flag or the equivalent flag in push notifications.

Used for [Telegram Gateway verification messages »](https://telegram.org/blog/star-messages-gateway-2-0-and-more#save-even-more-on-user-verification): indicate to the server that one or more [message](https://core.telegram.org/constructor/message.md)s were received by the client, if requested by the [message](https://core.telegram.org/constructor/message.md).**report\_delivery\_until\_date** flag or the equivalent flag in [push notifications](https://core.telegram.org/api/push-updates.md).

الاسمالنوعمطلوبالوصف
pushtrueلأMust be set if the messages were received from a [push notification](https://core.telegram.org/api/push-updates.md).
peerInputPeerأيوهThe peer where the messages were received.
idVector<int>أيوهThe IDs of the received messages.

الردود

Bool

MTProto RPC

  • 400 · PEER_ID_INVALID — The provided peer id is invalid.

Telegram documentation ↗

Пользователи users.getFullUser
POST users.getFullUser

Получить подробный профиль пользователя

Возвращает расширенные сведения о пользователе. В ответе могут быть описание профиля и связанные пользователи или чаты.

ПользователиTL: users.getFullUserДоступен пользователям и ботам

Параметры запроса

Параметр
id
Тип
InputUser
Обязательный
Да
Описание
Пользователь, сведения о котором нужно получить.
Тип InputUser

Указывает пользователя для дальнейшего взаимодействия.

КонструкторПоляОписание
inputUseruser_id: longID пользователяaccess_hash: longЗначение access_hash из конструктора userУказывает пользователя для дальнейшего взаимодействия.
inputUserSelf—Текущий пользователь
inputUserFromMessagepeer: InputPeerЧат, в котором встретился пользовательmsg_id: intID сообщенияuser_id: longID пользователяПользователь с признаком min из конкретного сообщения чата
inputUserEmpty—Пустой конструктор, который не указывает пользователя

Авторизация Telegram

Сессия хранится в этой вкладке. Запрос выполняется напрямую к Telegram.