Package org.drinkless.tdlib
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
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
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intGroup call identifier; must be an identifier of a live story call.longThe new minimum number of Telegram Stars; 0-getOption("paid_group_call_message_star_count_max"). -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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 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; must be an identifier of a live story call. -
paidMessageStarCount
public long paidMessageStarCountThe new minimum number of Telegram Stars; 0-getOption("paid_group_call_message_star_count_max"). -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-