GramIO API Reference / @gramio/contexts/dist / CommunityChatAdded
Class: CommunityChatAdded
Defined in: contexts/index.d.ts:2580
This object represents a service message about a chat being added to a community.
Constructors
Constructor
new CommunityChatAdded(
payload):CommunityChatAdded
Defined in: contexts/index.d.ts:2582
Parameters
| Parameter | Type |
|---|---|
payload | TelegramCommunityChatAdded |
Returns
CommunityChatAdded
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramCommunityChatAdded | contexts/index.d.ts:2581 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:2584
Returns
string
community
Get Signature
get community():
Community
Defined in: contexts/index.d.ts:2586
The new community to which the chat belongs