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

MTProto reference

stories.editStory

Edit an uploaded story

Edit an uploaded [story](https://core.telegram.org/api/stories.md)

名前型必須説明
peerInputPeerはいPeer where the story was posted.
idintはいID of story to edit.
mediaInputMediaいいえIf specified, replaces the story media.
media_areasVector<MediaArea>いいえ[Media areas](https://core.telegram.org/api/stories.md#media-areas) associated to the story, see [here »](https://core.telegram.org/api/stories.md#media-areas) for more info.
captionstringいいえIf specified, replaces the story caption.
entitiesVector<MessageEntity>いいえ[Message entities for styled text in the caption](https://core.telegram.org/api/entities.md), if allowed by the [`stories_entities` client configuration parameter »](https://core.telegram.org/api/config.md#stories-entities).
privacy_rulesVector<InputPrivacyRule>いいえIf specified, alters the [privacy settings »](https://core.telegram.org/api/privacy.md) of the story, changing who can or can't view the story.
musicInputDocumentいいえIf set, the new audio track to play as background music for the story.

レスポンス

Updates

MTProto RPC

  • 400 · PEER_ID_INVALID — The provided peer id is invalid.
  • 400 · STORY_NOT_MODIFIED — The new story information you passed is equal to the previous story information, thus it wasn't modified.

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.