tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::paidMediaVideo Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::paidMediaVideo:
td::td_api::PaidMedia td::td_api::Object td::TlObject

Public Member Functions

 paidMediaVideo ()
 
 paidMediaVideo (object_ptr< video > &&video_, object_ptr< photo > &&cover_, int32 start_timestamp_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::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
 

Public Attributes

object_ptr< videovideo_
 The video.
 
object_ptr< photocover_
 Cover of the video; may be null if none.
 
int32 start_timestamp_
 Timestamp from which the video playing must start, in seconds.
 

Static Public Attributes

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

Detailed Description

The media is a video.

Definition at line 49134 of file td_api.h.

Constructor & Destructor Documentation

◆ paidMediaVideo() [1/2]

td::td_api::paidMediaVideo::paidMediaVideo ( )

The media is a video.

◆ paidMediaVideo() [2/2]

td::td_api::paidMediaVideo::paidMediaVideo ( object_ptr< video > &&  video_,
object_ptr< photo > &&  cover_,
int32  start_timestamp_ 
)

The media is a video.

Parameters
[in]video_The video.
[in]cover_Cover of the video; may be null if none.
[in]start_timestamp_Timestamp from which the video playing must start, in seconds.

Member Function Documentation

◆ store()

void td::td_api::paidMediaVideo::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 td::TlObject.

Member Data Documentation

◆ cover_

object_ptr<photo> td::td_api::paidMediaVideo::cover_

Cover of the video; may be null if none.

Definition at line 49147 of file td_api.h.

◆ ID

const std::int32_t td::td_api::paidMediaVideo::ID = 870838318
static

Identifier uniquely determining a type of the object.

Definition at line 49166 of file td_api.h.

◆ start_timestamp_

int32 td::td_api::paidMediaVideo::start_timestamp_

Timestamp from which the video playing must start, in seconds.

Definition at line 49149 of file td_api.h.

◆ video_

object_ptr<video> td::td_api::paidMediaVideo::video_

The video.

Definition at line 49145 of file td_api.h.


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