Skip to content

messages.searchSentMedia

messages.searchSentMedia#107e31a0 q:string filter:MessagesFilter limit:int = messages.Messages;

messages.Messages

Name Type Flag Default Description
q string — —
filter MessagesFilter — —
limit int — —
from miniproto.raw.functions import MessagesSearchSentMedia

Public access: miniproto.raw.functions.MessagesSearchSentMedia.

messages.Messages

Code Error Description
400 BUSINESS_CONNECTION_NOT_ALLOWED This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we’re a user, and users cannot invoke methods over a business connection; (2) we’re a bot, but business mode was disabled in @botfather or (3); we’re a bot, but this method cannot be invoked over a business connection.
400 FILTER_NOT_SUPPORTED The specified filter cannot be used in this context.
401 AUTH_KEY_UNREGISTERED The specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

MessagesFilter Known selected constructors: inputMessagesFilterChatPhotos, inputMessagesFilterContacts, inputMessagesFilterDocument, inputMessagesFilterEmpty, inputMessagesFilterGeo, inputMessagesFilterGif, inputMessagesFilterMusic, inputMessagesFilterMyMentions, inputMessagesFilterPhoneCalls, inputMessagesFilterPhotoVideo, inputMessagesFilterPhotos, inputMessagesFilterPinned, inputMessagesFilterPoll, inputMessagesFilterRoundVideo, inputMessagesFilterRoundVoice, inputMessagesFilterUrl, inputMessagesFilterVideo, inputMessagesFilterVoice

messages.Messages Known selected constructors: messages.channelMessages, messages.messages, messages.messagesNotModified, messages.messagesSlice

channels.getMessages, channels.searchPosts, messages.getHistory, messages.getMessages, messages.getPersonalChannelHistory, messages.getQuickReplyMessages, messages.getRecentLocations, messages.getReplies, messages.getRichMessage, messages.getSavedHistory, messages.getScheduledHistory, messages.getScheduledMessages, messages.getSearchCounters, messages.getSearchResultsCalendar, messages.getSearchResultsPositions, messages.getUnreadMentions, messages.getUnreadPollVotes, messages.getUnreadReactions, messages.search, messages.searchGlobal

  • user only

Schema sources