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

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

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

Public Member Functions

 forwardSource ()
 
 forwardSource (int53 chat_id_, int53 message_id_, object_ptr< MessageSender > &&sender_id_, string const &sender_name_, int32 date_, bool is_outgoing_)
 
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 chat to which the message that was forwarded belonged; may be 0 if unknown.
 
int53 message_id_
 Identifier of the message; may be 0 if unknown.
 
object_ptr< MessageSendersender_id_
 Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages.
 
string sender_name_
 Name of the sender of the message if the sender is hidden by their privacy settings.
 
int32 date_
 Point in time (Unix timestamp) when the message is sent; 0 if unknown.
 
bool is_outgoing_
 True, if the message that was forwarded is outgoing; always false if sender is unknown.
 

Static Public Attributes

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

Detailed Description

Contains information about the last message from which a new message was forwarded last time.

Definition at line 22065 of file td_api.h.

Constructor & Destructor Documentation

◆ forwardSource() [1/2]

td::td_api::forwardSource::forwardSource ( )

Contains information about the last message from which a new message was forwarded last time.

◆ forwardSource() [2/2]

td::td_api::forwardSource::forwardSource ( int53  chat_id_,
int53  message_id_,
object_ptr< MessageSender > &&  sender_id_,
string const &  sender_name_,
int32  date_,
bool  is_outgoing_ 
)

Contains information about the last message from which a new message was forwarded last time.

Parameters
[in]chat_id_Identifier of the chat to which the message that was forwarded belonged; may be 0 if unknown.
[in]message_id_Identifier of the message; may be 0 if unknown.
[in]sender_id_Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages.
[in]sender_name_Name of the sender of the message if the sender is hidden by their privacy settings.
[in]date_Point in time (Unix timestamp) when the message is sent; 0 if unknown.
[in]is_outgoing_True, if the message that was forwarded is outgoing; always false if sender is unknown.

Member Function Documentation

◆ store()

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

◆ chat_id_

int53 td::td_api::forwardSource::chat_id_

Identifier of the chat to which the message that was forwarded belonged; may be 0 if unknown.

Definition at line 22076 of file td_api.h.

◆ date_

int32 td::td_api::forwardSource::date_

Point in time (Unix timestamp) when the message is sent; 0 if unknown.

Definition at line 22084 of file td_api.h.

◆ ID

const std::int32_t td::td_api::forwardSource::ID = 1795337929
static

Identifier uniquely determining a type of the object.

Definition at line 22106 of file td_api.h.

◆ is_outgoing_

bool td::td_api::forwardSource::is_outgoing_

True, if the message that was forwarded is outgoing; always false if sender is unknown.

Definition at line 22086 of file td_api.h.

◆ message_id_

int53 td::td_api::forwardSource::message_id_

Identifier of the message; may be 0 if unknown.

Definition at line 22078 of file td_api.h.

◆ sender_id_

object_ptr<MessageSender> td::td_api::forwardSource::sender_id_

Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages.

Definition at line 22080 of file td_api.h.

◆ sender_name_

string td::td_api::forwardSource::sender_name_

Name of the sender of the message if the sender is hidden by their privacy settings.

Definition at line 22082 of file td_api.h.


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