messages.SearchGlobal#
- class pyrogram.raw.functions.messages.SearchGlobal#
Search for messages and peers globally
- Details:
Layer:
198
ID:
4BC6589A
- Parameters:
q (
str
) – Queryfilter (
MessagesFilter
) – Global search filtermin_date (
int
32-bit
) – If a positive value was specified, the method will return only messages with date bigger than min_datemax_date (
int
32-bit
) – If a positive value was transferred, the method will return only messages with date smaller than max_dateoffset_rate (
int
32-bit
) – Initially 0, then set to the next_rate parameter of messages.messagesSliceoffset_peer (
InputPeer
) – Offsets for pagination, for more info click hereoffset_id (
int
32-bit
) – Offsets for pagination, for more info click herelimit (
int
32-bit
) – Offsets for pagination, for more info click herebroadcasts_only (
bool
, optional) – If set, only returns results from channels (used in the global channel search tab »).groups_only (
bool
, optional) – Whether to search only in groupsusers_only (
bool
, optional) – Whether to search only in private chatsfolder_id (
int
32-bit
, optional) – Peer folder ID, for more info click here
- Returns: