|
TDLib
|
Inherits InputMessageContent.
A forwarded message.
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 > &©_options_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| object_ptr< messageCopyOptions > | 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. | |
| int53 | from_chat_id_ |
| Identifier for the chat this forwarded message came from. | |
| bool | in_game_share_ |
| Pass true if a game message is being shared from a launched game; applies only to game messages. | |
| int53 | message_id_ |
| Identifier of the message to forward. A message can be forwarded only if messageProperties.can_be_forwarded. | |
| int32 | new_video_start_timestamp_ |
| The new video start timestamp; ignored if replace_video_start_timestamp == false. | |
| bool | replace_video_start_timestamp_ |
| Pass true to replace video start timestamp in the forwarded message. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1076506316 |
| Identifier uniquely determining a type of the object. | |
| inputMessageForwarded | ( | ) |
A forwarded message.
| 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.
| [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. |
|
finalvirtual |