payments.getSavedStarGifts

payments.savedStarGifts#95f389b1 flags:# count:int chat_notifications_enabled:flags.1?Bool gifts:Vector<SavedStarGift> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = payments.SavedStarGifts;
---functions---
payments.getSavedStarGifts#23830de9 flags:# exclude_unsaved:flags.0?true exclude_saved:flags.1?true exclude_unlimited:flags.2?true exclude_limited:flags.3?true exclude_unique:flags.4?true sort_by_value:flags.5?true peer:InputPeer offset:string limit:int = payments.SavedStarGifts;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
exclude_unsaved flags.0?true  
exclude_saved flags.1?true  
exclude_unlimited flags.2?true  
exclude_limited flags.3?true  
exclude_unique flags.4?true  
sort_by_value flags.5?true  
peer InputPeer  
offset string  
limit int Maximum number of results to return, see pagination

Result

payments.SavedStarGifts

Possible errors

Code Type Description
400 BUSINESS_CONNECTION_INVALID The connection_id passed to the wrapping invokeWithBusinessConnection call is invalid.
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Pagination in the API

How to fetch results from large lists of objects.

Business

Users can turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start pages, chatbot support, and more.