Telegram MTProto
TL layer 236899 methodsOpenAPI 3.0.3

MTProto guide

chatlists.joinChatlistInvite

Import a chat folder deep link », joining some or all the chats in the folder.

Import a [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links), joining some or all the chats in the folder.

NameTypeRequiredDescription
slugstringYes`slug` obtained from a [chat folder deep link »](https://core.telegram.org/api/links.md#chat-folder-links).
peersVector<InputPeer>YesList of new chats to join, fetched using [chatlists.checkChatlistInvite](https://core.telegram.org/method/chatlists.checkChatlistInvite.md) and filtered as specified in the [documentation »](https://core.telegram.org/api/folders.md#shared-folders).

Replies

Updates

MTProto RPC

  • 400 · CHANNELS_TOO_MUCH — You have joined too many channels/supergroups.
  • 400 · CHATLISTS_TOO_MUCH — You have created too many folder links, hitting the chatlist_invites_limit_default/chatlist_invites_limit_premium [limits&nbsp;&raquo;](https://core.telegram.org/api/config.md#chatlist-invites-limit-default).
  • 400 · FILTER_INCLUDE_EMPTY — The include_peers vector of the filter is empty.
  • 400 · INVITE_SLUG_EMPTY — The specified invite slug is empty.
  • 400 · INVITE_SLUG_EXPIRED — The specified chat folder link has expired.

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.