MadelineProtoDocs/docs/API_docs/constructors/updateUserStatus.md

31 lines
727 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "updateUserStatus"
description: "Contact status update."
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateUserStatus
[Back to constructors index](/API_docs/constructors/index.html)
Contact status update.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|user\_id|[long](/API_docs/types/long.html) | Yes|User identifier|
|status|[UserStatus](/API_docs/types/UserStatus.html) | Optional|New status|
### Type: [Update](/API_docs/types/Update.html)
### Example:
```
$updateUserStatus = ['_' => 'updateUserStatus', 'user_id' => long, 'status' => UserStatus];
```