TDLib
Loading...
Searching...
No Matches
td::td_api::inputMessageForwarded Class Referencefinal

Inherits td::td_api::InputMessageContent.

Public Member Functions

 inputMessageForwarded ()
 
 inputMessageForwarded (int53 from_chat_id_, int53 message_id_, bool in_game_share_, object_ptr< messageCopyOptions > &&copy_options_)
 
std::int32_t get_id () const final
 
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 from_chat_id_
 Identifier for the chat this forwarded message came from.
 
int53 message_id_
 Identifier of the message to forward.
 
bool in_game_share_
 True, if a game message is being shared from a launched game; applies only to game messages.
 
object_ptr< messageCopyOptionscopy_options_
 Options to be used to copy content of the message without reference to the original sender; pass null to forward the message as usual.
 

Static Public Attributes

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

Detailed Description

A forwarded message.

Constructor & Destructor Documentation

◆ inputMessageForwarded() [1/2]

td::td_api::inputMessageForwarded::inputMessageForwarded ( )

A forwarded message.

◆ inputMessageForwarded() [2/2]

td::td_api::inputMessageForwarded::inputMessageForwarded ( int53  from_chat_id_,
int53  message_id_,
bool  in_game_share_,
object_ptr< messageCopyOptions > &&  copy_options_ 
)

A forwarded message.

Parameters
[in]from_chat_id_Identifier for the chat this forwarded message came from.
[in]message_id_Identifier of the message to forward.
[in]in_game_share_True, if a game message is being shared from a launched game; applies only to game messages.
[in]copy_options_Options to be used to copy content of the message without reference to the original sender; pass null to forward the message as usual.

Member Function Documentation

◆ get_id()

std::int32_t td::td_api::inputMessageForwarded::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ store()

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


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