ForwardMessages
Object Hierarchy:
Description:
public class ForwardMessages :
TDObject
Forwards previously sent messages. Returns the forwarded messages in the same order as the message identifiers passed in message_ids. If
a message can't be forwarded, null will be returned instead of the message
Content:
Properties:
- public int64 chat_id { get; set construct; }
Identifier of the chat to which to forward messages
- public int64 from_chat_id { get; set construct; }
Identifier of the chat from which to forward messages
- public ArrayList<int64?> message_ids { get; set construct; }
Identifiers of the messages to forward. Message identifiers must be in
a strictly increasing order. At most 100 messages can be forwarded simultaneously. A message can be forwarded only if
messageProperties.can_be_forwarded
- public int64 message_thread_id { get; set construct; }
If not 0, the message thread identifier in which the message will be
sent; for forum threads only
- public MessageSendOptions options { get; set construct; }
Options to be used to send the messages; pass null to use default
options
- public bool remove_caption { get; set construct; }
Pass true to remove media captions of message copies. Ignored if
send_copy is false
- public bool send_copy { get; set construct; }
Pass true to copy content of the messages without reference to the
original sender. Always true if the messages are forwarded to a secret chat or are local. Use messageProperties.can_be_saved and
messageProperties.can_be_copied_to_secret_chat to check whether the message is suitable
Creation methods:
- public ForwardMessages (int64 chat_id, int64 message_thread_id, int64 from_chat_id, ArrayList<int64?> message_ids, MessageSendOptions options, bool send_copy, bool remove_caption)
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref