mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-04 02:28:31 +01:00
29 lines
718 B
Markdown
29 lines
718 B
Markdown
|
---
|
||
|
title: "starsSubscriptionPricing"
|
||
|
description: "starsSubscriptionPricing attributes, type and example"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: starsSubscriptionPricing
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|period|[int](/API_docs/types/int.html) | Yes|
|
||
|
|amount|[long](/API_docs/types/long.html) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [StarsSubscriptionPricing](/API_docs/types/StarsSubscriptionPricing.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$starsSubscriptionPricing = ['_' => 'starsSubscriptionPricing', 'period' => int, 'amount' => long];
|
||
|
```
|