Skip to content

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.

Documentation

Constructors

Constructor

new CommunityChatAdded(payload): CommunityChatAdded

Defined in: contexts/index.d.ts:2582

Parameters

ParameterType
payloadTelegramCommunityChatAdded

Returns

CommunityChatAdded

Properties

PropertyTypeDefined in
payloadTelegramCommunityChatAddedcontexts/index.d.ts:2581

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

Defined in: contexts/index.d.ts:2584

MDN

Returns

string


community

Get Signature

get community(): Community

Defined in: contexts/index.d.ts:2586

The new community to which the chat belongs

Returns

Community