Marks username as deprecated

This commit is contained in:
Vitor Pamplona 2024-08-08 18:18:54 -04:00
parent 2e7b7c5c00
commit 8ed78ea38f

View File

@ -398,6 +398,8 @@ class ContactListEvent(
@Stable
class UserMetadata {
var name: String? = null
@Deprecated("Use name instead", replaceWith = ReplaceWith("name"))
var username: String? = null
@JsonProperty("display_name")