messages.searchSentMedia

View and search recently sent media.
This method does not support pagination.

 Method schema is available as of layer 139. Switch ยป

Parameters

Name Type Description
q string Optional search query
filter MessagesFilter Message filter
limit int Maximum number of results to return (max 100).

Result

messages.Messages

Only users can use this method

Possible errors

Code Type Description
400 FILTER_NOT_SUPPORTED The specified filter cannot be used in this context.