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.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
pinned | true | Nein | Whether to pin the live story on the peer's profile |
noforwards | true | Nein | Whether viewers must be prevented from forwarding or saving the live story |
rtmp_stream | true | Nein | Erstellen 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 |
peer | InputPeer | Ja | User, supergroup or channel that will own the live story; basic groups cannot post live stories |
caption | string | Nein | Live story caption |
entities | Vector<MessageEntity> | Nein | [Nachrichtenentitäten für formatierten Text](https://core.telegram.org/api/entities.md) |
privacy_rules | Vector<InputPrivacyRule> | Ja | Privacy rules defining who can view the live story |
random_id | long | Ja | Client-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_enabled | Bool | Nein | Whether the [in-call message overlay »](https://core.telegram.org/api/group-calls.md#in-call-messages) should be enabled |
send_paid_messages_stars | long | Nein | 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 |
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.