Package org.drinkless.tdlib
Class TdApi.GroupCallMessageLevel
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GroupCallMessageLevel
- Enclosing class:
- TdApi
Represents a level of features for a message sent in a live story group call.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintBackground color for the message the RGB format.static final intIdentifier uniquely determining type of the object.intThe first color used to show the message text in the RGB format.intThe maximum allowed number of custom emoji in the message text.intThe maximum allowed length of the message text.longThe minimum number of Telegram Stars required to get features of the level.intThe amount of time the message of this level will be pinned, in seconds.intThe second color used to show the message text in the RGB format. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents a level of features for a message sent in a live story group call.GroupCallMessageLevel(long minStarCount, int pinDuration, int maxTextLength, int maxCustomEmojiCount, int firstColor, int secondColor, int backgroundColor) Represents a level of features for a message sent 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.Object
toString
-
Field Details
-
minStarCount
public long minStarCountThe minimum number of Telegram Stars required to get features of the level. -
pinDuration
public int pinDurationThe amount of time the message of this level will be pinned, in seconds. -
maxTextLength
public int maxTextLengthThe maximum allowed length of the message text. -
maxCustomEmojiCount
public int maxCustomEmojiCountThe maximum allowed number of custom emoji in the message text. -
firstColor
public int firstColorThe first color used to show the message text in the RGB format. -
secondColor
public int secondColorThe second color used to show the message text in the RGB format. -
backgroundColor
public int backgroundColorBackground color for the message the RGB format. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GroupCallMessageLevel
public GroupCallMessageLevel()Represents a level of features for a message sent in a live story group call. -
GroupCallMessageLevel
public GroupCallMessageLevel(long minStarCount, int pinDuration, int maxTextLength, int maxCustomEmojiCount, int firstColor, int secondColor, int backgroundColor) Represents a level of features for a message sent in a live story group call.- Parameters:
minStarCount- The minimum number of Telegram Stars required to get features of the level.pinDuration- The amount of time the message of this level will be pinned, in seconds.maxTextLength- The maximum allowed length of the message text.maxCustomEmojiCount- The maximum allowed number of custom emoji in the message text.firstColor- The first color used to show the message text in the RGB format.secondColor- The second color used to show the message text in the RGB format.backgroundColor- Background color for the message the RGB format.
-
-
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
-