MadelineProtoDocs/old_docs/API_docs_v82/constructors/updateUserTyping.md

40 lines
769 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: updateUserTyping
description: Update user typing
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateUserTyping
[Back to constructors index](index.md)
Update user typing
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|user\_id|[int](../types/int.md) | Yes|User ID|
|action|[SendMessageAction](../types/SendMessageAction.md) | Yes|Action|
### Type: [Update](../types/Update.md)
### Example:
```php
$updateUserTyping = ['_' => 'updateUserTyping', 'user_id' => int, 'action' => SendMessageAction];
```
Or, if you're into Lua:
```lua
updateUserTyping={_='updateUserTyping', user_id=int, action=SendMessageAction}
```