GramIO API Reference / @gramio/contexts/dist / ForumTopicCreated
Class: ForumTopicCreated
Defined in: contexts/index.d.ts:2073
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:2075
Parameters
| Parameter | Type |
|---|---|
payload | TelegramForumTopicCreated |
Returns
ForumTopicCreated
Properties
| Property | Type | Defined in |
|---|---|---|
payload | TelegramForumTopicCreated | contexts/index.d.ts:2074 |
Accessors
[toStringTag]
Get Signature
get [toStringTag]():
string
Defined in: contexts/index.d.ts:2077
Returns
string
iconColor
Get Signature
get iconColor():
number
Defined in: contexts/index.d.ts:2081
Color of the topic icon in RGB format
Returns
number
iconCustomEmojiId
Get Signature
get iconCustomEmojiId():
string
Defined in: contexts/index.d.ts:2083
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:2085
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:2079
Name of the topic
Returns
string