MadelineProtoDocs/docs/TD_docs/constructors/userTypeBot.md

28 lines
1.0 KiB
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: userTypeBot
description: Bot (see https: core.telegram.org/bots)
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
2018-04-05 01:19:57 +02:00
# Constructor: userTypeBot
2018-04-01 13:19:25 +02:00
[Back to constructors index](index.md)
Bot (see https: core.telegram.org/bots)
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|can\_join\_group\_chats|[Bool](../types/Bool.md) | Yes|If true, bot can be invited to group and supergroup chats|
|can\_read\_all\_group\_chat\_messages|[Bool](../types/Bool.md) | Yes|If true, bot can read all group or supergroup chat messages, not only addressed to him. In private chats bot always can read all messages|
|is\_inline|[Bool](../types/Bool.md) | Yes|True, if bot supports inline queries|
|inline\_query\_placeholder|[string](../types/string.md) | Yes|Placeholder for inline query|
|need\_location|[Bool](../types/Bool.md) | Yes|If true, user location should be sent with every inline query to this bot|
### Type: [UserType](../types/UserType.md)