Telegram MTProto
TL レイヤー 236899 件のメソッドOpenAPI 3.0.3

MTProto reference

stories.getStoryViewsList

Obtain the list of users that have viewed a specific story we posted

Obtain the list of users that have viewed a specific [story we posted](https://core.telegram.org/api/stories.md)

名前型必須説明
just_contactstrueいいえWhether to only fetch view reaction/views made by our [contacts](https://core.telegram.org/api/contacts.md)
reactions_firsttrueいいえWhether to return [storyView](https://core.telegram.org/constructor/storyView.md) info about users that reacted to the story (i.e. if set, the server will first sort results by view date as usual, and then also additionally sort the list by putting [storyView](https://core.telegram.org/constructor/storyView.md)s with an associated reaction first in the list). Ignored if `forwards_first` is set.
forwards_firsttrueいいえIf set, returns forwards and reposts first, then reactions, then other views; otherwise returns interactions sorted just by interaction date.
peerInputPeerはいストーリーが投稿されたピア
qstringいいえSearch for specific peers
idintはいストーリーID
offsetstringはいOffset for pagination, obtained from [stories.storyViewsList](https://core.telegram.org/constructor/stories.storyViewsList.md).`next_offset`
limitintはいMaximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)

レスポンス

stories.StoryViewsList

MTProto RPC

  • 400 · PEER_ID_INVALID — The provided peer id is invalid.
  • 400 · STORY_ID_INVALID — The specified story ID 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.