Telegram MTProto
TL layer 236899 methodsOpenAPI 3.0.3

MTProto reference

phone.toggleGroupCallSettings

Change group call settings. Each setting supports different group call types, see here » for more info.

Change group call settings. Each setting supports different group call types, see [here »](https://core.telegram.org/api/group-calls.md#managing-an-active-group-call) for more info.

NameTypeRequiredDescription
reset_invite_hashtrueNoInvalidate existing invite links for video chats, livestreams and conferences
callInputGroupCallYesGroup call whose settings should be changed
join_mutedBoolNoWhether users joining a non-RTMP video chat/livestream should be muted by default
messages_enabledBoolNoEnable or disable the in-call message overlay in video chats/livestreams, conferences and live stories, including in RTMP mode
send_paid_messages_starslongNoSet the minimum Telegram Stars donation required from users other than the live story owner for each comment; the owner may always comment without donating, and `0` allows free comments for everyone

Responses

Updates

MTProto RPC

  • 403 · GROUPCALL_CHANGE_FORBIDDEN — You cannot change this group call setting.
  • 403 · GROUPCALL_FORBIDDEN — The specified group call cannot be used in this context.
  • 400 · GROUPCALL_INVALID — The specified group call is invalid.
  • 400 · GROUPCALL_NOT_MODIFIED — Group call settings weren't modified.

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.