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::messagePosition Class Referencefinal

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

Inheritance diagram for td::td_api::messagePosition:
td::td_api::Object td::TlObject

Public Member Functions

 messagePosition ()
 
 messagePosition (int32 position_, int53 message_id_, int32 date_)
 
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

int32 position_
 0-based message position in the full list of suitable messages.
 
int53 message_id_
 Message identifier.
 
int32 date_
 Point in time (Unix timestamp) when the message was sent.
 

Static Public Attributes

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

Detailed Description

Contains information about a message in a specific position.

Definition at line 44079 of file td_api.h.

Constructor & Destructor Documentation

◆ messagePosition() [1/2]

td::td_api::messagePosition::messagePosition ( )

Contains information about a message in a specific position.

◆ messagePosition() [2/2]

td::td_api::messagePosition::messagePosition ( int32  position_,
int53  message_id_,
int32  date_ 
)

Contains information about a message in a specific position.

Parameters
[in]position_0-based message position in the full list of suitable messages.
[in]message_id_Message identifier.
[in]date_Point in time (Unix timestamp) when the message was sent.

Member Function Documentation

◆ store()

void td::td_api::messagePosition::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

◆ date_

int32 td::td_api::messagePosition::date_

Point in time (Unix timestamp) when the message was sent.

Definition at line 44094 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messagePosition::ID = 1292189935
static

Identifier uniquely determining a type of the object.

Definition at line 44111 of file td_api.h.

◆ message_id_

int53 td::td_api::messagePosition::message_id_

Message identifier.

Definition at line 44092 of file td_api.h.

◆ position_

int32 td::td_api::messagePosition::position_

0-based message position in the full list of suitable messages.

Definition at line 44090 of file td_api.h.


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