TwurpleAuthenticationGetting dataExamplesFAQMigration

toUserName

Definition

toUserName(channel)

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

ParameterTypeRequiredDefaultDescription
channelstringnone

The name of the channel.

Return type: string