GramIO API Reference / @gramio/contexts/dist / ForumTopicCreated
Class: ForumTopicCreated
Defined in: contexts/index.d.ts:2278
This object represents a service message about a new forum topic created in the chat.
Constructors
Constructor
new ForumTopicCreated(
payload):ForumTopicCreated
Defined in: contexts/index.d.ts:2280
Parameters
| Parameter | Type |
|---|---|
payload | TelegramForumTopicCreated |
Returns
ForumTopicCreated
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramForumTopicCreated | contexts/index.d.ts:2279 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:2282
Returns
string
iconColor
Get Signature
get iconColor():
number
Defined in: contexts/index.d.ts:2286
Color of the topic icon in RGB format
Returns
number
iconCustomEmojiId
Get Signature
get iconCustomEmojiId():
string
Defined in: contexts/index.d.ts:2288
Unique identifier of the custom emoji shown as the topic icon
Returns
string
isNameImplicit
Get Signature
get isNameImplicit():
true
Defined in: contexts/index.d.ts:2290
Optional. True, if the name of the topic wasn't specified explicitly by its creator and likely needs to be changed by the bot
Returns
true
name
Get Signature
get name():
string
Defined in: contexts/index.d.ts:2284
Name of the topic
Returns
string