SendGroupCallMessage class final
Sends a message to other participants of a group call. Requires groupCall.can_send_messages right
Returns Ok.
- Inheritance
-
- Object
- TdFunction<
Ok> - SendGroupCallMessage
Constructors
- SendGroupCallMessage({required int groupCallId, required FormattedText text, required int paidMessageStarCount})
-
Sends a message to other participants of a group call. Requires groupCall.can_send_messages right
const
Properties
- canBeCalledSynchronously → bool
-
Whether TDLib documents this request as callable through
td_execute.no setterinherited - groupCallId → int
-
Group call identifier
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- paidMessageStarCount → int
-
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
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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
final
Methods
-
copyWith(
{int? groupCallId, FormattedText? text, int? paidMessageStarCount}) → SendGroupCallMessage -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it. -
getConstructor(
) → String -
TDLib function name, e.g.
getMe.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
Converts this request to TDLib JSON, tagged with
extraif given.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.