MadelineProtoDocs/old_docs/API_docs_v13/constructors/sendMessageCancelAction.md

34 lines
665 B
Markdown
Raw Normal View History

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