class ForumTopic

This object represents a forum topic.

Methods

__construct(int $message_thread_id, string $name, int $icon_color, string|null $icon_custom_emoji_id = null)

No description

int
getMessageThreadId()

Unique identifier of the forum topic.

string
getName()

Name of the topic.

int
getIconColor()

Color of the topic icon in RGB format.

string|null
getIconCustomEmojiId()

Optional. Unique identifier of the custom emoji shown as the topic icon.

Details

at line 16
__construct(int $message_thread_id, string $name, int $icon_color, string|null $icon_custom_emoji_id = null)

No description

Parameters

int $message_thread_id
string $name
int $icon_color
string|null $icon_custom_emoji_id

at line 27
int getMessageThreadId()

Unique identifier of the forum topic.

Return Value

int

at line 35
string getName()

Name of the topic.

Return Value

string

at line 43
int getIconColor()

Color of the topic icon in RGB format.

Return Value

int

at line 51
string|null getIconCustomEmojiId()

Optional. Unique identifier of the custom emoji shown as the topic icon.

Return Value

string|null