account.updateUsername
Changes username for the current user.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
username | string | أيوه | username or empty string if username is to be removed Accepted characters: a-z (case-insensitive), 0-9 and underscores. Length: 5-32 characters. |
الردود
User
MTProto RPC
- 400 · USERNAME_INVALID — The provided username is not valid.
- 400 · USERNAME_NOT_MODIFIED — The username was not modified.
- 400 · USERNAME_OCCUPIED — The provided username is already occupied.
- 400 · USERNAME_PURCHASE_AVAILABLE — The specified username can be purchased on https://fragment.com.