Telegram MTProto
طبقة TL 236عدد الطرق: 899OpenAPI 3.0.3

MTProto reference

stories.searchPosts

Globally search for stories using a hashtag or a location media area, see here » for more info on the full flow.

Globally search for [stories](https://core.telegram.org/api/stories.md) using a hashtag or a [location media area](https://core.telegram.org/api/stories.md#location-tags), see [here »](https://core.telegram.org/api/stories.md#searching-stories) for more info on the full flow.

الاسمالنوعمطلوبالوصف
hashtagstringلأHashtag (without the `#`)
areaMediaAreaلأA [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md) or a [mediaAreaVenue](https://core.telegram.org/constructor/mediaAreaVenue.md). Note [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md) areas may be searched only if they have an associated `address`.
peerInputPeerلأIf set, returns only stories posted by this peer.
offsetstringأيوهOffset for [pagination](https://core.telegram.org/api/offsets.md): initially an empty string, then the `next_offset` from the previously returned [stories.foundStories](https://core.telegram.org/constructor/stories.foundStories.md).
limitintأيوهMaximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)

الردود

stories.FoundStories

MTProto RPC

  • 400 · HASHTAG_INVALID — The specified hashtag is invalid.

Telegram documentation ↗

Пользователи users.getFullUser
POST users.getFullUser

Получить подробный профиль пользователя

Возвращает расширенные сведения о пользователе. В ответе могут быть описание профиля и связанные пользователи или чаты.

ПользователиTL: users.getFullUserДоступен пользователям и ботам

Параметры запроса

Параметр
id
Тип
InputUser
Обязательный
Да
Описание
Пользователь, сведения о котором нужно получить.
Тип InputUser

Указывает пользователя для дальнейшего взаимодействия.

КонструкторПоляОписание
inputUseruser_id: longID пользователяaccess_hash: longЗначение access_hash из конструктора userУказывает пользователя для дальнейшего взаимодействия.
inputUserSelf—Текущий пользователь
inputUserFromMessagepeer: InputPeerЧат, в котором встретился пользовательmsg_id: intID сообщенияuser_id: longID пользователяПользователь с признаком min из конкретного сообщения чата
inputUserEmpty—Пустой конструктор, который не указывает пользователя

Авторизация Telegram

Сессия хранится в этой вкладке. Запрос выполняется напрямую к Telegram.