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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    int
    Group call identifier.
    long
    Number of Telegram Stars to be used for the reaction.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default 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 Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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.Object
      Returns:
      this.CONSTRUCTOR