inlineButtonTypeSwitchInline
Signature
Section titled “Signature”inlineButtonTypeSwitchInline#93773ff5 flags:# same_peer:flags.0?true query:string peer_types:flags.1?Vector<InlineQueryPeerType> = InlineButtonType;Result type
Section titled “Result type”InlineButtonType
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| same_peer | flags.0?true | flags.0 | — | |
| query | string | — | — | |
| peer_types | flags.1?Vector |
flags.1 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| same_peer | 0 | Controlled by flags; present when this bit is set. |
| peer_types | 1 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import InlineButtonTypeSwitchInlinePublic access: miniproto.raw.types.InlineButtonTypeSwitchInline.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
InlineButtonType - Related constructors:
inlineButtonTypeBuy,inlineButtonTypeCallback,inlineButtonTypeCopy,inlineButtonTypeDisabled,inlineButtonTypeGame,inlineButtonTypeUrl,inlineButtonTypeUrlAuth,inlineButtonTypeUserProfile,inlineButtonTypeWebView,inputInlineButtonTypeUrlAuth,inputInlineButtonTypeUserProfile - Accepted by:
keyboardInlineButton,pageButton,textButton