SearchMessages
Object Hierarchy:
Description:
public class SearchMessages :
TDObject
Searches for messages in all chats except secret chats. Returns the results in reverse chronological order (i.e., in order of decreasing
(date, chat_id, message_id)). For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the
specified limit
Content:
Properties:
- public ChatList chat_list { get; set construct; }
Chat list in which to search messages; pass null to search in all
chats regardless of their chat list. Only Main and Archive chat lists are supported
- public SearchMessagesChatTypeFilter chat_type_filter { get; set construct; }
Additional filter for type of the chat of the searched messages; pass
null to search for messages in all chats
- public SearchMessagesFilter filter { get; set construct; }
Additional filter for messages to search; pass null to search for all
messages. Filters searchMessagesFilterMention, searchMessagesFilterUnreadMention, searchMessagesFilterUnreadReaction,
searchMessagesFilterFailedToSend, and searchMessagesFilterPinned are unsupported in this function
- public int32 limit { get; set construct; }
The maximum number of messages to be returned; up to 100. For optimal
performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit
- public int32 max_date { get; set construct; }
If not 0, the maximum date of the messages to return
- public int32 min_date { get; set construct; }
If not 0, the minimum date of the messages to return
- public string offset { get; set construct; }
Offset of the first entry to return as received from the previous
request; use empty string to get the first chunk of results
- public string query { get; set construct; }
Query to search for
Creation methods:
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