Inherits Object.
Describes a slot for chat boost.
Public Fields | |
| int32 | slot_id_ |
| Unique identifier of the slot. | |
| int53 | currently_boosted_chat_id_ |
| Identifier of the currently boosted chat; 0 if none. | |
| int32 | start_date_ |
| Point in time (Unix timestamp) when the chat was boosted; 0 if none. | |
| int32 | expiration_date_ |
| Point in time (Unix timestamp) when the boost will expire. | |
| int32 | cooldown_until_date_ |
| Point in time (Unix timestamp) after which the boost can be used for another chat. | |
Public Instance Methods | |
| chatBoostSlot () | |
| chatBoostSlot (int32 slot_id_, int53 currently_boosted_chat_id_, int32 start_date_, int32 expiration_date_, int32 cooldown_until_date_) | |
| 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 | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 123206343 |
| Identifier uniquely determining a type of the object. | |
| chatBoostSlot | ( | ) |
Describes a slot for chat boost.
| chatBoostSlot | ( | int32 | slot_id_, |
| int53 | currently_boosted_chat_id_, | ||
| int32 | start_date_, | ||
| int32 | expiration_date_, | ||
| int32 | cooldown_until_date_ | ||
| ) |
Describes a slot for chat boost.
| [in] | slot_id_ | Unique identifier of the slot. |
| [in] | currently_boosted_chat_id_ | Identifier of the currently boosted chat; 0 if none. |
| [in] | start_date_ | Point in time (Unix timestamp) when the chat was boosted; 0 if none. |
| [in] | expiration_date_ | Point in time (Unix timestamp) when the boost will expire. |
| [in] | cooldown_until_date_ | Point in time (Unix timestamp) after which the boost can be used for another chat. |
|
finalvirtual |