Telegram MTProto
TL layer 236899 methodsOpenAPI 3.0.3

MTProto reference

phone.sendGroupCallMessage

Send an in-call message to all participants of a video chat/livestream or live story, including in RTMP mode, see here » for more info.

Send an in-call message to all participants of a video chat/livestream or live story, including in RTMP mode, see [here »](https://core.telegram.org/api/group-calls.md#in-call-messages) for more info.

NameTypeRequiredDescription
callInputGroupCallYesVideo chat/livestream or live story that should receive the message, reaction or donation
random_idlongYesFresh client-generated random ID used to deduplicate the message or donation. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.
messageTextWithEntitiesYesMessage text or emoji reaction; pass an empty value when sending a standalone paid live story donation
allow_paid_starslongNoUser-confirmed number of Telegram Stars to donate with a live story comment or standalone donation
send_asInputPeerNoOptional peer to display as the author of a live story message or reaction; can only be used for live stories

Responses

Updates

MTProto RPC

  • 400 · GROUPCALL_INVALID — The specified group call is invalid.
  • 400 · GROUPCALL_JOIN_MISSING — You haven't joined this group call.

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.