MadelineProto/old_docs/API_docs_v23/types/Chat.md

39 lines
805 B
Markdown
Raw Normal View History

---
title: Chat
description: constructors and methods of type Chat
---
## Type: Chat
[Back to types index](index.md)
2017-02-12 18:32:28 +01:00
The following syntaxes can also be used:
```
$disabledFeature = '@username'; // Username
$disabledFeature = 44700; // bot API id (users)
$disabledFeature = -492772765; // bot API id (chats)
$disabledFeature = -10038575794; // bot API id (channels)
$disabledFeature = 'user#44700'; // tg-cli style id (users)
$disabledFeature = 'chat#492772765'; // tg-cli style id (chats)
$disabledFeature = 'channel#38575794'; // tg-cli style id (channels)
```
### Possible values (constructors):
[chatEmpty](../constructors/chatEmpty.md)
[chat](../constructors/chat.md)
[chatForbidden](../constructors/chatForbidden.md)
### Methods that return an object of this type (methods):