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

MTProto reference

phone.editGroupCallParticipant

Edit information about a participant of a non-RTMP video chat/livestream or conference. The `raise_hand` field is only supported in video chats/livestreams, see here » for more info.

Edit information about a participant of a non-RTMP video chat/livestream or conference. The `raise_hand` field is only supported in video chats/livestreams, see [here »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) for more info.

الاسمالنوعمطلوبالوصف
callInputGroupCallأيوهNon-RTMP video chat/livestream or conference
participantInputPeerأيوهThe group call participant (can also be the user itself)
mutedBoolلأChange the participant's mute state; allowing a forcibly muted participant to self-unmute does not immediately unmute them
volumeintلأNew volume, between `1` and `20000`; `10000` represents 100%. Without moderation rights, changing another participant's volume affects only local playback
raise_handBoolلأRaise or lower hand; only supported in video chats/livestreams
video_stoppedBoolلأStart or stop the current user's video stream
video_pausedBoolلأPause or resume the current user's video stream
presentation_pausedBoolلأPause or resume the current user's presentation stream

الردود

Updates

MTProto RPC

  • 403 · GROUPCALL_FORBIDDEN — The specified group call cannot be used in this context.
  • 400 · GROUPCALL_INVALID — The specified group call is invalid.
  • 400 · PARTICIPANT_JOIN_MISSING — Trying to enable a presentation, when the user hasn't joined the Video Chat with [phone.joinGroupCall](https://core.telegram.org/method/phone.joinGroupCall.md).
  • 400 · RAISE_HAND_FORBIDDEN — You cannot raise your hand.
  • 400 · USER_ID_INVALID — The provided user ID is invalid.
  • 400 · USER_VOLUME_INVALID — The specified user volume is invalid.
  • 400 · VIDEO_PAUSE_FORBIDDEN — You cannot pause the video stream.
  • 400 · VIDEO_STOP_FORBIDDEN — You cannot stop the video stream.

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.