Telegram MTProto
TL-Schicht 236899 MethodenOpenAPI 3.0.3

MTProto-Referenz

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)

NameTypErforderlichBeschreibung
just_contactstrueNeinWhether to only fetch view reaction/views made by our [contacts](https://core.telegram.org/api/contacts.md)
reactions_firsttrueNeinWhether 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_firsttrueNeinIf set, returns forwards and reposts first, then reactions, then other views; otherwise returns interactions sorted just by interaction date.
peerInputPeerJaSchauen Sie nach, wo die Geschichte gepostet wurde
qstringNeinSearch for specific peers
idintJaStory-ID
offsetstringJaOffset for pagination, obtained from [stories.storyViewsList](https://core.telegram.org/constructor/stories.storyViewsList.md).`next_offset`
limitintJaMaximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md)

Antworten

stories.StoryViewsList

MTProto RPC

  • 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.
  • 400 · STORY_ID_INVALID – Die angegebene Story-ID 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.