phone.SendGroupCallMessage#

class pyrogram.raw.functions.phone.SendGroupCallMessage#

Send an in-call message to all participants of a video chat/livestream or live story, including in RTMP mode, see here for more info. The send_as field can only be populated for live stories, where it optionally selects the displayed author. If omitted, the server automatically selects the appropriate author. Do not populate it for video chats/livestreams. Video chats/livestreams and live stories support animated emoji reactions, encoded as messages containing only a standard available reaction emoji or a single custom emoji entity. For a paid live story comment, pass the user-confirmed donation amount in allow_paid_stars. For commenters other than the live story owner, this amount must be at least the current groupCall.send_paid_messages_stars minimum. A higher amount may be donated to highlight the comment. The live story owner may comment without populating allow_paid_stars. To send a standalone paid live story donation, pass a positive allow_paid_stars value and an empty message, see here for the full flow.

conference
rtmp_stream
listeners_hidden
title
messages_enabled
record_start_date and record_video_active
schedule_date
send_paid_messages_stars
Usable by Users Bots
Details:
  • Layer: 227

  • ID: B1D11410

Parameters:
  • call (InputGroupCall) – Video chat/livestream or live story that should receive the message, reaction or donation

  • random_id (int 64-bit) – Fresh client-generated random ID used to deduplicate the message or donation

  • message (TextWithEntities) – Message text or emoji reaction; pass an empty value when sending a standalone paid live story donation

  • allow_paid_stars (int 64-bit, optional) – User-confirmed number of Telegram Stars to donate with a live story comment or standalone donation

  • send_as (InputPeer, optional) – Optional peer to display as the author of a live story message or reaction; can only be used for live stories

Returns:

Updates