MadelineProtoDocs/old_docs/API_docs_v86/constructors/messageActionChatMigrateTo.md

45 lines
875 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: messageActionChatMigrateTo
description: Message action chat migrate to
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageActionChatMigrateTo
[Back to constructors index](index.md)
Message action chat migrate to
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|channel\_id|[int](../types/int.md) | Yes|Channel ID|
### Type: [MessageAction](../types/MessageAction.md)
### Example:
```php
$messageActionChatMigrateTo = ['_' => 'messageActionChatMigrateTo', 'channel_id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "messageActionChatMigrateTo", "channel_id": int}
```
Or, if you're into Lua:
```lua
messageActionChatMigrateTo={_='messageActionChatMigrateTo', channel_id=int}
```