Telegram MTProto
TL layer 236899 methodsOpenAPI 3.0.3

MTProto guide

account.getUniqueGiftChatThemes

Obtain all chat themes » associated to owned or hosted collectible gifts ».

Obtain all [chat themes »](https://core.telegram.org/api/themes.md#chat-themes) associated to owned or [hosted collectible gifts »](https://core.telegram.org/api/gifts.md#hosted-collectible-gifts).

NameTypeRequiredDescription
offsetstringYesOffset for [pagination](https://core.telegram.org/api/offsets.md), intially an empty string, then equal the value of the last returned [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md).`next_offset` (if set).
limitintYesMaximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md). Note that the server may return less than `limit` results, even if the actual number of remaining results is `>= limit`, paginate to fetch them all.
hashlongYesHash from a previously returned [account.chatThemes](https://core.telegram.org/constructor/account.chatThemes.md) constructor, to avoid returning any result if the theme list hasn't changed.

Replies

account.ChatThemes

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.