reorder_gift_collections()

Client.reorder_gift_collections()

Changes order of gift collections.

Usable by Users Bots
Parameters:
  • owner_id (``int`` | ``str``) – Unique identifier (int) or username (str) of the target chat. For your personal cloud (Saved Messages) you can simply use “me” or “self”.

  • gift_ids (List of ``int``) – New order of gift collections.

Returns:

``bool`` (On success, True is returned.)

Example

await app.reorder_gift_collections("me", [123, 456])