mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 05:36:56 +01:00
39 lines
817 B
Markdown
39 lines
817 B
Markdown
|
---
|
||
|
title: messageChatMigrateFrom
|
||
|
description: Supergroup channel is created from group chat
|
||
|
---
|
||
|
## Constructor: messageChatMigrateFrom
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
Supergroup channel is created from group chat
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|:-------------:|:--------:|------------:|
|
||
|
|title|[string](../types/string.md) | Yes|Title of created channel chat|
|
||
|
|group\_id|[int](../types/int.md) | Yes|Identifier of the group it is migrated from|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [MessageContent](../types/MessageContent.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$messageChatMigrateFrom = ['_' => 'messageChatMigrateFrom', 'title' => string, 'group_id' => int, ];
|
||
|
```
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
messageChatMigrateFrom={_='messageChatMigrateFrom', title=string, group_id=int, }
|
||
|
|
||
|
```
|
||
|
|
||
|
|