Skip to content

payments.getResaleStarGifts

No description provided by the pinned schema.

payments.getResaleStarGifts#7a5fa236 flags:# sort_by_price:flags.1?true sort_by_num:flags.2?true for_craft:flags.4?true stars_only:flags.5?true attributes_hash:flags.0?long gift_id:long attributes:flags.3?Vector<StarGiftAttributeId> offset:string limit:int = payments.ResaleStarGifts;

payments.ResaleStarGifts

NameTypeFlagDefaultDescription
flags#flag word—No description provided by the pinned schema.
sort_by_priceflags.1?trueflags.1—No description provided by the pinned schema.
sort_by_numflags.2?trueflags.2—No description provided by the pinned schema.
for_craftflags.4?trueflags.4—No description provided by the pinned schema.
stars_onlyflags.5?trueflags.5—No description provided by the pinned schema.
attributes_hashflags.0?longflags.0—No description provided by the pinned schema.
gift_idlong——No description provided by the pinned schema.
attributesflags.3?Vectorflags.3—No description provided by the pinned schema.
offsetstring——No description provided by the pinned schema.
limitint——No description provided by the pinned schema.
ParameterBitMeaning
sort_by_price1Controlled by flags; present when this bit is set.
sort_by_num2Controlled by flags; present when this bit is set.
for_craft4Controlled by flags; present when this bit is set.
stars_only5Controlled by flags; present when this bit is set.
attributes_hash0Controlled by flags; present when this bit is set.
attributes3Controlled by flags; present when this bit is set.
from miniproto.raw.functions import PaymentsGetResaleStarGifts

Public access: miniproto.raw.functions.PaymentsGetResaleStarGifts.

from miniproto.raw.functions import PaymentsGetResaleStarGifts
# Naming the raw request class is local only; it performs no I/O or network request.
request_type = PaymentsGetResaleStarGifts

payments.ResaleStarGifts

CodeErrorDescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we’re a user, and users cannot invoke methods over a business connection; (2) we’re a bot, but business mode was disabled in @botfather or (3); we’re a bot, but this method cannot be invoked over a business connection.
400STARGIFT_ATTRIBUTE_INVALIDOne of the specified star gift attributes is invalid.
400STARGIFT_INVALIDThe passed gift is invalid.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

StarGiftAttributeId Known selected constructors: starGiftAttributeIdBackdrop, starGiftAttributeIdModel, starGiftAttributeIdPattern

payments.ResaleStarGifts Known selected constructors: payments.resaleStarGifts

  • user only
  • tdlib_vs_core: changed_count=78; core_only_count=18; overlap_count=2285; tdlib_only_count=195
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2470; tdesktop_only=null; tdlib_only=accessPointRule, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret