List of all members | Public Fields | Public Instance Methods | Static Public Attributes
inputMessageForwarded Class Referencefinal

Inherits InputMessageContent.

Description

A forwarded message.

Public Fields

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.
 

Public Instance Methods

 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 Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ inputMessageForwarded() [1/2]

A forwarded message.

◆ inputMessageForwarded() [2/2]

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.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

◆ store()

void 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 TlObject.


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