Protected
_clientProtected
_sourceGets the icon of the forum topic.
Gets the id of the forum topic.
Gets the name of the forum topic.
Update type if the context is called from MessageContext
Edits the forum topic.
The parameters to edit the forum topic.
Converts the source object to a context object of a given type.
client.updates.on("message", message => {
const user = message.user.toContext<CustomUserContext>();
// Now user works correctly with your context
})
Generic type parameter for the context object.
The context object.
Generated using TypeDoc
True, if the topic is General (only for MessageContext)