stories.StartLive#

class pyrogram.raw.functions.stories.StartLive#

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

Usable by Users Bots
Details:
  • Layer: 227

  • ID: D069CCDE

Parameters:
  • peer (InputPeer) – User, supergroup or channel that will own the live story; basic groups cannot post live stories

  • privacy_rules (List of InputPrivacyRule) – Privacy rules defining who can view the live story

  • random_id (int 64-bit) – Client-generated random ID used to prevent duplicate live stories

  • pinned (bool, optional) – Whether to pin the live story on the peer’s profile

  • noforwards (bool, optional) – Whether viewers must be prevented from forwarding or saving the live story

  • rtmp_stream (bool, optional) – Create the live story in RTMP livestream mode », where one external streamer publishes all audio and video

  • caption (str, optional) – Live story caption

  • entities (List of MessageEntity, optional) – Message entities for styled text

  • messages_enabled (bool, optional) – Whether the in-call message overlay » should be enabled

  • send_paid_messages_stars (int 64-bit, optional) – 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

Returns:

Updates