Telegram MTProto
TL-Schicht 236899 MethodenOpenAPI 3.0.3

MTProto-Referenz

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.

NameTypErforderlichBeschreibung
hashtagstringNeinHashtag (without the `#`)
areaMediaAreaNeinEin [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md) oder ein [mediaAreaVenue](https://core.telegram.org/constructor/mediaAreaVenue.md). Hinweis: [mediaAreaGeoPoint](https://core.telegram.org/constructor/mediaAreaGeoPoint.md)-Gebiete können nur durchsucht werden, wenn ihnen ein `address` zugeordnet ist.
peerInputPeerNeinIf set, returns only stories posted by this peer.
offsetstringJaOffset 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).
limitintJaMaximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)

Antworten

stories.FoundStories

MTProto RPC

  • 400 · HASHTAG_INVALID – Der angegebene Hashtag ist ungültig.

Telegrammdokumentation ↗

Пользователи 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.