TwurpleAuthenticationGetting dataExamplesFAQMigration

toChannelName

Definition

toChannelName(user)

Converts an API-compatible username to a chat-compatible channel name.

ParameterTypeRequiredDefaultDescription
userstringnone

The name of the user.

Return type: string