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

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

Inheritance diagram for td::td_api::messageOriginChannel:
td::td_api::MessageOrigin td::td_api::Object td::TlObject

Public Member Functions

 messageOriginChannel ()
 
 messageOriginChannel (int53 chat_id_, int53 message_id_, string const &author_signature_)
 
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

int53 chat_id_
 Identifier of the channel chat to which the message was originally sent.
 
int53 message_id_
 Message identifier of the original message.
 
string author_signature_
 Original post author signature.
 

Static Public Attributes

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

Detailed Description

The message was originally a post in a channel.

Definition at line 44034 of file td_api.h.

Constructor & Destructor Documentation

◆ messageOriginChannel() [1/2]

td::td_api::messageOriginChannel::messageOriginChannel ( )

The message was originally a post in a channel.

◆ messageOriginChannel() [2/2]

td::td_api::messageOriginChannel::messageOriginChannel ( int53  chat_id_,
int53  message_id_,
string const &  author_signature_ 
)

The message was originally a post in a channel.

Parameters
[in]chat_id_Identifier of the channel chat to which the message was originally sent.
[in]message_id_Message identifier of the original message.
[in]author_signature_Original post author signature.

Member Function Documentation

◆ store()

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

◆ author_signature_

string td::td_api::messageOriginChannel::author_signature_

Original post author signature.

Definition at line 44049 of file td_api.h.

◆ chat_id_

int53 td::td_api::messageOriginChannel::chat_id_

Identifier of the channel chat to which the message was originally sent.

Definition at line 44045 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageOriginChannel::ID = -1451535938
static

Identifier uniquely determining a type of the object.

Definition at line 44066 of file td_api.h.

◆ message_id_

int53 td::td_api::messageOriginChannel::message_id_

Message identifier of the original message.

Definition at line 44047 of file td_api.h.


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