Package org.drinkless.tdlib
Class TdApi.AddPendingLiveStoryReaction
- Enclosing class:
- TdApi
Adds pending paid reaction in a live story group call. Can't be used in live stories posted by the current user. Call commitPendingLiveStoryReactions or removePendingLiveStoryReactions to actually send all pending reactions when the undo timer is over or abort the sending.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intGroup call identifier.longNumber of Telegram Stars to be used for the reaction. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which adds pending paid reaction in a live story group call.AddPendingLiveStoryReaction(int groupCallId, long starCount) Creates a function, which adds pending paid reaction in a live story group call. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
groupCallId
public int groupCallIdGroup call identifier. -
starCount
public long starCountNumber of Telegram Stars to be used for the reaction. The total number of pending paid reactions must not exceed getOption("paid_group_call_message_star_count_max"). -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AddPendingLiveStoryReaction
public AddPendingLiveStoryReaction()Default constructor for a function, which adds pending paid reaction in a live story group call. Can't be used in live stories posted by the current user. Call commitPendingLiveStoryReactions or removePendingLiveStoryReactions to actually send all pending reactions when the undo timer is over or abort the sending.Returns
Ok -
AddPendingLiveStoryReaction
public AddPendingLiveStoryReaction(int groupCallId, long starCount) Creates a function, which adds pending paid reaction in a live story group call. Can't be used in live stories posted by the current user. Call commitPendingLiveStoryReactions or removePendingLiveStoryReactions to actually send all pending reactions when the undo timer is over or abort the sending.Returns
Ok- Parameters:
groupCallId- Group call identifier.starCount- Number of Telegram Stars to be used for the reaction. The total number of pending paid reactions must not exceed getOption("paid_group_call_message_star_count_max").
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-