Telegram MTProto
TL-Schicht 236899 MethodenOpenAPI 3.0.3

MTProto-Referenz

messages.editForumTopic

Edit forum topic.

Edit [forum topic](https://core.telegram.org/api/forum.md).

NameTypErforderlichBeschreibung
peerInputPeerJaThe supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located.
topic_idintJaTopic ID
titlestringNeinIf present, will update the topic title (maximum UTF-8 length: 128).
icon_emoji_idlongNeinIf present, updates the [custom emoji](https://core.telegram.org/api/custom-emoji.md) used as topic icon. [Telegram Premium](https://core.telegram.org/api/premium.md) users can use any custom emoji, other users can only use the custom emojis contained in the [inputStickerSetEmojiDefaultTopicIcons](https://core.telegram.org/constructor/inputStickerSetEmojiDefaultTopicIcons.md) emoji pack. Pass 0 to switch to the fallback topic icon.
closedBoolNeinIf present, will update the open/closed status of the topic.
hiddenBoolNeinIf present, will hide/unhide the topic (only valid for the "General" topic, `id=1`).

Antworten

Updates

MTProto RPC

  • 400 · CHANNEL_INVALID – Der angegebene Kanal ist ungültig.
  • 400 · TOPIC_CLOSE_SEPARATELY – Das Flag close kann nicht zusammen mit einem der anderen Flags bereitgestellt werden.
  • 400 · TOPIC_NOT_MODIFIED — Die aktualisierten Themeninformationen entsprechen den aktuellen Themeninformationen, es wurde nichts geändert.

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.