Skip to content

GramIO API Reference / @gramio/contexts/dist / ForumTopicCreated

Class: ForumTopicCreated

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

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:1897

Parameters

ParameterType
payloadTelegramForumTopicCreated

Returns

ForumTopicCreated

Properties

PropertyTypeDefined in
payloadTelegramForumTopicCreatedcontexts/index.d.ts:1896

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


iconColor

Get Signature

get iconColor(): number

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

Color of the topic icon in RGB format

Returns

number


iconCustomEmojiId

Get Signature

get iconCustomEmojiId(): string

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

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:1907

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:1901

Name of the topic

Returns

string