Telegram MTProto
TL layer 236899 methodsOpenAPI 3.0.3

MTProto guide

phone.joinGroupCall

Join any group call type ». Conference calls additionally require the E2E joining flow ».

Join any [group call type »](https://core.telegram.org/api/group-calls.md#group-call-types). Conference calls additionally require the [E2E joining flow »](https://core.telegram.org/api/end-to-end/group-calls.md#joining-a-call).

NameTypeRequiredDescription
mutedtrueNoJoin muted; required for live story listeners and RTMP-mode viewers
video_stoppedtrueNoJoin with video disabled; required for live story listeners and RTMP-mode viewers
callInputGroupCallYesGroup call to join
join_asInputPeerYesJoin the group call, presenting yourself as the specified user/channel; this peer is also used as the author of in-call messages in normal video chats/livestreams. Only video chats/livestreams may use another peer; this field must be equal to [inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) when joining [live stories »](https://core.telegram.org/api/group-calls.md#live-stories) or [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls).
invite_hashstringNoThe invitation hash from the [invite link »](https://core.telegram.org/api/links.md#video-chat-livestream-links), if provided allows speaking in a livestream or muted group call ([video chats/livestreams »](https://core.telegram.org/api/group-calls.md#video-chats-livestreams) only, cannot be used by [live stories »](https://core.telegram.org/api/group-calls.md#live-stories) or [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls)).
public_keyint256NoFor [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls) only, your public key.
blockbytesNoThe [main-chain block that adds the joining user »](https://core.telegram.org/api/end-to-end/group-calls.md#joining-a-call), only for [conference calls »](https://core.telegram.org/api/group-calls.md#conference-calls).
paramsDataJSONYesJoin payload generated by the local tgcalls group-call engine, as described above

Replies

Updates

MTProto RPC

  • 400 · CHAT_ADMIN_REQUIRED — You must be an admin in this chat to do this.
  • 403 · CHAT_WRITE_FORBIDDEN — You can't write in this chat.
  • 400 · DATA_JSON_INVALID — The provided JSON data is invalid.
  • 403 · GROUPCALL_FORBIDDEN — The specified group call cannot be used in this context.
  • 400 · GROUPCALL_INVALID — The specified group call is invalid.
  • 400 · GROUPCALL_SSRC_DUPLICATE_MUCH — The app needs to retry joining the group call with a new SSRC value.
  • 400 · JOIN_AS_PEER_INVALID — The specified peer cannot be used to join a group call.
  • 400 · PUBLIC_KEY_INVALID — The specified e2e public key 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.