MadelineProtoDocs/old_docs/API_docs_v105/constructors/sendMessageCancelAction.md

34 lines
665 B
Markdown
Raw Normal View History

2019-09-13 17:13:55 +02:00
---
title: sendMessageCancelAction
2019-12-27 17:48:04 +01:00
description: Invalidate all previous action updates. E.g. when user deletes entered text or aborts a video upload.
2019-09-13 17:13:55 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: sendMessageCancelAction
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Invalidate all previous action updates. E.g. when user deletes entered text or aborts a video upload.
2019-09-13 17:13:55 +02:00
### Type: [SendMessageAction](../types/SendMessageAction.md)
### Example:
```php
$sendMessageCancelAction = ['_' => 'sendMessageCancelAction'];
```
Or, if you're into Lua:
```lua
sendMessageCancelAction={_='sendMessageCancelAction'}
```