Telegram MTProto
TL-Schicht 236899 MethodenOpenAPI 3.0.3

MTProto-Referenz

payments.updateStarGiftCollection

Add or remove gifts from a star gift collection », or rename the collection.

Add or remove gifts from a [star gift collection »](https://core.telegram.org/api/gifts.md#gift-collections), or rename the collection.

NameTypErforderlichBeschreibung
peerInputPeerJaPeer that owns the collection.
collection_idintJaCollection ID.
titlestringNeinTitle of the collection, to rename the collection.
delete_stargiftVector<InputSavedStarGift>NeinCan contain a list of gifts to remove from the collection.
add_stargiftVector<InputSavedStarGift>NeinCan contain a list of gifts to add to the collection.
orderVector<InputSavedStarGift>NeinCan contain the new gift order.

Antworten

StarGiftCollection

MTProto RPC

  • 400 · PEER_ID_INVALID – Die angegebene Peer-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.