Telegram MTProto
TL layer 236899 methodsOpenAPI 3.0.3

MTProto guide

phone.setCallRating

Rate a call, returns info about the rating message sent to the official VoIP bot, see here » for more info on the full flow.

Rate a call, returns info about the rating message sent to the official VoIP bot, see [here »](https://core.telegram.org/api/calls.md#call-rating) for more info on the full flow.

NameTypeRequiredDescription
user_initiativetrueNoWhether the user decided on their own initiative to rate the call, must NOT be set if rating was requested by the server with [phoneCallDiscarded](https://core.telegram.org/constructor/phoneCallDiscarded.md).`need_rating`.
peerInputPhoneCallYesThe call to rate
ratingintYesRating in `1-5` stars
commentstringYesAn additional comment with problem hashtags, see [here »](https://core.telegram.org/api/calls.md#call-rating) for more info on the full flow.

Replies

Updates

MTProto RPC

  • 400 · CALL_PEER_INVALID — The provided call peer object 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.