messages.SearchGlobal
- class pyrogram.raw.functions.messages.SearchGlobal
Search for messages and peers globally
- Details:
Layer:
196ID:
4BC6589A
- Parameters:
q (
str) – Queryfilter (
MessagesFilter) – Global search filtermin_date (
int32-bit) – If a positive value was specified, the method will return only messages with date bigger than min_datemax_date (
int32-bit) – If a positive value was transferred, the method will return only messages with date smaller than max_dateoffset_rate (
int32-bit) – Initially 0, then set to the next_rate parameter of messages.messagesSliceoffset_peer (
InputPeer) – Offsets for pagination, for more info click hereoffset_id (
int32-bit) – Offsets for pagination, for more info click herelimit (
int32-bit) – Offsets for pagination, for more info click herebroadcasts_only (
bool, optional)groups_only (
bool, optional) – N/Ausers_only (
bool, optional) – N/Afolder_id (
int32-bit, optional) – Peer folder ID, for more info click here
- Returns: