MadelineProtoDocs/docs/API_docs/constructors/contactStatus.md
2024-05-01 14:53:46 +02:00

754 B

title description nav_exclude image
contactStatus Contact status: online / offline. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: contactStatus

Back to constructors index

Contact status: online / offline.

Attributes:

Name Type Required Description
user_id long Yes User identifier
status UserStatus Optional Online status

Type: ContactStatus

Example:

$contactStatus = ['_' => 'contactStatus', 'user_id' => long, 'status' => UserStatus];