# inlineButtonTypeSwitchInline

> inlineButtonTypeSwitchInline attributes, type and example

[Back to constructors index](/API_docs/constructors/index.html)



### Attributes:

| Name     |    Type       | Required |
|----------|---------------|----------|
|same\_peer|[Bool](/API_docs/types/Bool.html) | Optional|
|query|[string](/API_docs/types/string.html) | Yes|
|peer\_types|Array of [InlineQueryPeerType](/API_docs/types/InlineQueryPeerType.html) | Optional|



### Type: [InlineButtonType](/API_docs/types/InlineButtonType.html)


### Example:

```
$inlineButtonTypeSwitchInline = ['_' => 'inlineButtonTypeSwitchInline', 'same_peer' => Bool, 'query' => 'string', 'peer_types' => [InlineQueryPeerType, InlineQueryPeerType]];
```
