MadelineProtoDocs/old_docs/API_docs_v18/constructors/userDeleted.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.0 KiB

title description image
userDeleted User deleted https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: userDeleted

Back to constructors index

User deleted

Attributes:

Name Type Required Description
id int Yes ID
first_name string Yes First name
last_name string Yes Last name
username string Yes Username

Type: User

Example:

$userDeleted = ['_' => 'userDeleted', 'id' => int, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string'];

PWRTelegram json-encoded version:

{"_": "userDeleted", "id": int, "first_name": "string", "last_name": "string", "username": "string"}

Or, if you're into Lua:

userDeleted={_='userDeleted', id=int, first_name='string', last_name='string', username='string'}