MadelineProtoDocs/old_docs/API_docs_v89/constructors/sendMessageCancelAction.md

34 lines
665 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01: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.
2018-12-26 02:56:50 +01: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.
2018-12-26 02:56:50 +01:00
### Type: [SendMessageAction](../types/SendMessageAction.md)
### Example:
```php
$sendMessageCancelAction = ['_' => 'sendMessageCancelAction'];
```
Or, if you're into Lua:
```lua
sendMessageCancelAction={_='sendMessageCancelAction'}
```