help.promoData
Signature
Section titled “Signature”help.promoData#08a4d87a flags:# proxy:flags.0?true expires:int peer:flags.3?Peer psa_type:flags.1?string psa_message:flags.2?string pending_suggestions:Vector<string> dismissed_suggestions:Vector<string> custom_pending_suggestion:flags.4?PendingSuggestion chats:Vector<Chat> users:Vector<User> = help.PromoData;Result type
Section titled “Result type”help.PromoData
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| proxy | flags.0?true | flags.0 | — | |
| expires | int | — | — | |
| peer | flags.3?Peer | flags.3 | — | |
| psa_type | flags.1?string | flags.1 | — | |
| psa_message | flags.2?string | flags.2 | — | |
| pending_suggestions | Vector |
— | — | |
| dismissed_suggestions | Vector |
— | — | |
| custom_pending_suggestion | flags.4?PendingSuggestion | flags.4 | — | |
| chats | Vector |
— | — | |
| users | Vector |
— | — |
| Parameter | Bit | Meaning |
|---|---|---|
| proxy | 0 | Controlled by flags; present when this bit is set. |
| peer | 3 | Controlled by flags; present when this bit is set. |
| psa_type | 1 | Controlled by flags; present when this bit is set. |
| psa_message | 2 | Controlled by flags; present when this bit is set. |
| custom_pending_suggestion | 4 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import HelpPromoDataPublic access: miniproto.raw.types.HelpPromoData.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
help.PromoData - Related constructors:
help.promoDataEmpty - Returned by:
help.getPromoData