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

Inherits MessageExtendedMedia.


The media is hidden until the invoice is paid.

Public Fields

int32 width_
 Media width; 0 if unknown.
int32 height_
 Media height; 0 if unknown.
int32 duration_
 Media duration, in seconds; 0 if unknown.
object_ptr< minithumbnailminithumbnail_
 Media minithumbnail; may be null.
object_ptr< formattedTextcaption_
 Media caption.

Public Instance Methods

 messageExtendedMediaPreview ()
 messageExtendedMediaPreview (int32 width_, int32 height_, int32 duration_, object_ptr< minithumbnail > &&minithumbnail_, object_ptr< formattedText > &&caption_)
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 = 1996727111
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ messageExtendedMediaPreview() [1/2]

The media is hidden until the invoice is paid.

◆ messageExtendedMediaPreview() [2/2]

messageExtendedMediaPreview ( int32  width_,
int32  height_,
int32  duration_,
object_ptr< minithumbnail > &&  minithumbnail_,
object_ptr< formattedText > &&  caption_ 

The media is hidden until the invoice is paid.

[in]width_Media width; 0 if unknown.
[in]height_Media height; 0 if unknown.
[in]duration_Media duration, in seconds; 0 if unknown.
[in]minithumbnail_Media minithumbnail; may be null.
[in]caption_Media caption.

Method Documentation

◆ store()

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

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

[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: