Methods

getTopic

Get a topic of a forum chat by its identifier. USER-ONLY

Parameters

chatId: ID

The identifier of the chat.

topicId: number

The identifier of the topic.

Result

Syntax

await client.getTopic(chatId, topicId);