Telegram MTProto
TL-Schicht 236899 MethodenOpenAPI 3.0.3

MTProto-Referenz

stories.startLive

Start a live story, optionally using RTMP livestream mode, see here » for the full flow.

Start a live story, optionally using RTMP livestream mode, see [here »](https://core.telegram.org/api/group-calls.md#live-stories) for the full flow.

NameTypErforderlichBeschreibung
pinnedtrueNeinWhether to pin the live story on the peer's profile
noforwardstrueNeinWhether viewers must be prevented from forwarding or saving the live story
rtmp_streamtrueNeinErstellen Sie die Live-Story im [RTMP Livestream-Modus »](https://core.telegram.org/api/group-calls.md#stream-mode), in dem ein externer Streamer alle Audio- und Videodaten veröffentlicht
peerInputPeerJaUser, supergroup or channel that will own the live story; basic groups cannot post live stories
captionstringNeinLive story caption
entitiesVector<MessageEntity>Nein[Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md)
privacy_rulesVector<InputPrivacyRule>JaPrivacy rules defining who can view the live story
random_idlongJaClient-generated random ID used to prevent duplicate live stories. See [here »](https://core.telegram.org/api/updates.md#updatemessageid-updates) for more info on random ID deduplication and updateMessageID mapping.
messages_enabledBoolNeinWhether the [in-call message overlay »](https://core.telegram.org/api/group-calls.md#in-call-messages) should be enabled
send_paid_messages_starslongNeinMinimum 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

Antworten

Updates

MTProto RPC

  • 400 · CHANNEL_MONOFORUM_UNSUPPORTED – [Monoforen](https://core.telegram.org/api/channel.md#monoforums) unterstützen diese Funktion nicht.
  • 400 · CHAT_ADMIN_REQUIRED — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.
  • 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.
  • 400 · STORY_LIVE_ALREADY_%d – Dieser Peer hat bereits eine aktive Live-Story und seine ID ist gleich %d.

Telegrammdokumentation ↗

Пользователи 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.