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

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

Inheritance diagram for td::td_api::inputMessageForwarded:
td::td_api::InputMessageContent td::td_api::Object td::TlObject

Public Member Functions

 inputMessageForwarded ()
 
 inputMessageForwarded (int53 from_chat_id_, int53 message_id_, bool in_game_share_, bool replace_video_start_timestamp_, int32 new_video_start_timestamp_, object_ptr< messageCopyOptions > &&copy_options_)
 
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. A message can be forwarded only if messageProperties.can_be_forwarded.
 
bool in_game_share_
 Pass true if a game message is being shared from a launched game; applies only to game messages.
 
bool replace_video_start_timestamp_
 Pass true to replace video start timestamp in the forwarded message.
 
int32 new_video_start_timestamp_
 The new video start timestamp; ignored if replace_video_start_timestamp == false.
 
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 = -1076506316
 Identifier uniquely determining a type of the object.
 

Detailed Description

A forwarded message.

Definition at line 30018 of file td_api.h.

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_,
bool  replace_video_start_timestamp_,
int32  new_video_start_timestamp_,
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. A message can be forwarded only if messageProperties.can_be_forwarded.
[in]in_game_share_Pass true if a game message is being shared from a launched game; applies only to game messages.
[in]replace_video_start_timestamp_Pass true to replace video start timestamp in the forwarded message.
[in]new_video_start_timestamp_The new video start timestamp; ignored if replace_video_start_timestamp == false.
[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

◆ 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.

Member Data Documentation

◆ copy_options_

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

Definition at line 30039 of file td_api.h.

◆ from_chat_id_

int53 td::td_api::inputMessageForwarded::from_chat_id_

Identifier for the chat this forwarded message came from.

Definition at line 30029 of file td_api.h.

◆ ID

const std::int32_t td::td_api::inputMessageForwarded::ID = -1076506316
static

Identifier uniquely determining a type of the object.

Definition at line 30059 of file td_api.h.

◆ in_game_share_

bool td::td_api::inputMessageForwarded::in_game_share_

Pass true if a game message is being shared from a launched game; applies only to game messages.

Definition at line 30033 of file td_api.h.

◆ message_id_

int53 td::td_api::inputMessageForwarded::message_id_

Identifier of the message to forward. A message can be forwarded only if messageProperties.can_be_forwarded.

Definition at line 30031 of file td_api.h.

◆ new_video_start_timestamp_

int32 td::td_api::inputMessageForwarded::new_video_start_timestamp_

The new video start timestamp; ignored if replace_video_start_timestamp == false.

Definition at line 30037 of file td_api.h.

◆ replace_video_start_timestamp_

bool td::td_api::inputMessageForwarded::replace_video_start_timestamp_

Pass true to replace video start timestamp in the forwarded message.

Definition at line 30035 of file td_api.h.


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