List of all members | Public Fields | Public Instance Methods | Static Public Attributes
groupCallMessageLevel Class Referencefinal

Inherits Object.

Description

Represents a level of features for a message sent in a live story group call.

Public Fields

int53 min_star_count_
 The minimum number of Telegram Stars required to get features of the level.
 
int32 pin_duration_
 The amount of time the message of this level will be pinned, in seconds.
 
int32 max_text_length_
 The maximum allowed length of the message text.
 
int32 max_custom_emoji_count_
 The maximum allowed number of custom emoji in the message text.
 
int32 first_color_
 The first color used to show the message text in the RGB format.
 
int32 second_color_
 The second color used to show the message text in the RGB format.
 
int32 background_color_
 Background color for the message the RGB format.
 

Public Instance Methods

 groupCallMessageLevel ()
 
 groupCallMessageLevel (int53 min_star_count_, int32 pin_duration_, int32 max_text_length_, int32 max_custom_emoji_count_, int32 first_color_, int32 second_color_, int32 background_color_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = 994685918
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ groupCallMessageLevel() [1/2]

Represents a level of features for a message sent in a live story group call.

◆ groupCallMessageLevel() [2/2]

groupCallMessageLevel ( int53  min_star_count_,
int32  pin_duration_,
int32  max_text_length_,
int32  max_custom_emoji_count_,
int32  first_color_,
int32  second_color_,
int32  background_color_ 
)

Represents a level of features for a message sent in a live story group call.

Parameters
[in]min_star_count_The minimum number of Telegram Stars required to get features of the level.
[in]pin_duration_The amount of time the message of this level will be pinned, in seconds.
[in]max_text_length_The maximum allowed length of the message text.
[in]max_custom_emoji_count_The maximum allowed number of custom emoji in the message text.
[in]first_color_The first color used to show the message text in the RGB format.
[in]second_color_The second color used to show the message text in the RGB format.
[in]background_color_Background color for the message the RGB format.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: