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

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

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

Public Member Functions

 messageForwardInfo ()
 
 messageForwardInfo (object_ptr< MessageOrigin > &&origin_, int32 date_, object_ptr< forwardSource > &&source_, string const &public_service_announcement_type_)
 
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< MessageOriginorigin_
 Origin of the forwarded message.
 
int32 date_
 Point in time (Unix timestamp) when the message was originally sent.
 
object_ptr< forwardSourcesource_
 For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel&#x27;s discussion group, information about the source message from which the message was forwarded last time; may be null for other forwards or if unknown.
 
string public_service_announcement_type_
 The type of public service announcement for the forwarded message.
 

Static Public Attributes

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

Detailed Description

Contains information about a forwarded message.

Definition at line 43658 of file td_api.h.

Constructor & Destructor Documentation

◆ messageForwardInfo() [1/2]

td::td_api::messageForwardInfo::messageForwardInfo ( )

Contains information about a forwarded message.

◆ messageForwardInfo() [2/2]

td::td_api::messageForwardInfo::messageForwardInfo ( object_ptr< MessageOrigin > &&  origin_,
int32  date_,
object_ptr< forwardSource > &&  source_,
string const &  public_service_announcement_type_ 
)

Contains information about a forwarded message.

Parameters
[in]origin_Origin of the forwarded message.
[in]date_Point in time (Unix timestamp) when the message was originally sent.
[in]source_For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel&#x27;s discussion group, information about the source message from which the message was forwarded last time; may be null for other forwards or if unknown.
[in]public_service_announcement_type_The type of public service announcement for the forwarded message.

Member Function Documentation

◆ store()

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

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

Definition at line 43671 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageForwardInfo::ID = -880313475
static

Identifier uniquely determining a type of the object.

Definition at line 43693 of file td_api.h.

◆ origin_

object_ptr<MessageOrigin> td::td_api::messageForwardInfo::origin_

Origin of the forwarded message.

Definition at line 43669 of file td_api.h.

◆ public_service_announcement_type_

string td::td_api::messageForwardInfo::public_service_announcement_type_

The type of public service announcement for the forwarded message.

Definition at line 43675 of file td_api.h.

◆ source_

object_ptr<forwardSource> td::td_api::messageForwardInfo::source_

For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel&#x27;s discussion group, information about the source message from which the message was forwarded last time; may be null for other forwards or if unknown.

Definition at line 43673 of file td_api.h.


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