Class TdApi.SetGroupCallPaidMessageStarCount

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.SetGroupCallPaidMessageStarCount
Enclosing class:
TdApi

public static class TdApi.SetGroupCallPaidMessageStarCount extends TdApi.Function<TdApi.Ok>
Changes the minimum number of Telegram Stars that must be paid by general participant for each sent message to a live story call. Requires groupCall.canBeManaged right.

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    int
    Group call identifier; must be an identifier of a live story call.
    long
    The new minimum number of Telegram Stars; 0-getOption("paid_group_call_message_star_count_max").
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which changes the minimum number of Telegram Stars that must be paid by general participant for each sent message to a live story call.
    SetGroupCallPaidMessageStarCount(int groupCallId, long paidMessageStarCount)
    Creates a function, which changes the minimum number of Telegram Stars that must be paid by general participant for each sent message to a live story 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; must be an identifier of a live story call.
    • paidMessageStarCount

      public long paidMessageStarCount
      The new minimum number of Telegram Stars; 0-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

    • SetGroupCallPaidMessageStarCount

      public SetGroupCallPaidMessageStarCount()
      Default constructor for a function, which changes the minimum number of Telegram Stars that must be paid by general participant for each sent message to a live story call. Requires groupCall.canBeManaged right.

      Returns Ok

    • SetGroupCallPaidMessageStarCount

      public SetGroupCallPaidMessageStarCount(int groupCallId, long paidMessageStarCount)
      Creates a function, which changes the minimum number of Telegram Stars that must be paid by general participant for each sent message to a live story call. Requires groupCall.canBeManaged right.

      Returns Ok

      Parameters:
      groupCallId - Group call identifier; must be an identifier of a live story call.
      paidMessageStarCount - The new minimum number of Telegram Stars; 0-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