---
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'}

```


