Telegram MTProto
طبقة TL 236عدد الطرق: 899OpenAPI 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أيوهمعرف القصة
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.