---types--- inputStorePaymentStarsGiveaway#751f08fa only_new_subscribers:flags.0?true winners_are_visible:flags.3?true stars:long boost_peer:InputPeer additional_peers:flags.1?Vector<InputPeer> countries_iso2:flags.2?Vector<string> prize_description:flags.4?string random_id:long until_date:int currency:string amount:long users:int = InputStorePaymentPurpose
In Rust this constructor is a variant of the enums::InputStorePaymentPurpose enum. Match on it with: if let enums::InputStorePaymentPurpose::InputStorePaymentStarsGiveaway(v) = result { ... }
enums::InputStorePaymentPurpose
if let enums::InputStorePaymentPurpose::InputStorePaymentStarsGiveaway(v) = result { ... }