mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
913 B
913 B
title | description | nav_exclude | image |
---|---|---|---|
username | Contains information about a username. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: username
Contains information about a username.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
editable | Bool | Optional | Whether the username is editable, meaning it wasn't bought on fragment. |
active | Bool | Optional | Whether the username is active. |
username | string | Yes | The username. |
Type: Username
Example:
$username = ['_' => 'username', 'editable' => Bool, 'active' => Bool, 'username' => 'string'];