--- title: chatEventUsernameChanged description: Chat username was changed --- ## Constructor: chatEventUsernameChanged [Back to constructors index](index.md) Chat username was changed ### Attributes: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |old\_username|[string](../types/string.md) | Yes|Old username value| |new\_username|[string](../types/string.md) | Yes|New username value| ### Type: [ChatEventAction](../types/ChatEventAction.md)