Skip to content

sendGroupCallMessage

Function · TDLib 1.8.67 · d1085f9c

Sends a message to other participants of a group call. Requires groupCall.can_send_messages right

sendGroupCallMessage(
  group_call_id: int32,
  text: FormattedText,
  paid_message_star_count: int53
) → Ok

group_call_id

int32

Group call identifier

text

FormattedText

Text of the message to send; 1-getOption("group_call_message_text_length_max") characters for non-live-stories; see updateGroupCallMessageLevels for live story restrictions, which depends on paid_message_star_count. Can't contain line feeds for live stories. Can contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities for live stories

int53

The number of Telegram Stars the user agreed to pay to send the message; for live stories only; 0-getOption("paid_group_call_message_star_count_max"). Must be 0 for messages sent to live stories posted by the current user