Skip to content

🔧 get_user_gifts

Use this method to get the list of gifts received by a user.

âš™ī¸ Parameters

  • user_id (int ): Unique identifier of the target user
  • offset (str ) (optional): Offset of the first entry to return; use empty string for first chunk
  • limit (int ) (optional): Maximum number of gifts to return; 1-100, defaults to 100

📲 Returns

OwnedGifts

📀 Examples

-đŸĒĢ Required Parameters

await bot.get_user_gifts(
    user_id=your_user_id_here
)

-🔋 All Parameters

await bot.get_user_gifts(
    user_id=your_user_id_here,
    offset=your_offset_here,
    limit=your_limit_here
)