Class TdApi.AddPendingLiveStoryReaction

Enclosing class:
TdApi

public static class TdApi.AddPendingLiveStoryReaction extends TdApi.Function<TdApi.Ok>
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 Details

    • groupCallId

      public int groupCallId
      Group call identifier.
    • starCount

      public long 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").
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR