24 lines
797 B
Markdown
24 lines
797 B
Markdown
---
|
|
title: migrateGroupChatToChannelChat
|
|
description: Creates new channel supergroup chat from existing group chat and send corresponding messageChatMigrateTo and messageChatMigrateFrom. Deactivates group
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Method: migrateGroupChatToChannelChat
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Creates new channel supergroup chat from existing group chat and send corresponding messageChatMigrateTo and messageChatMigrateFrom. Deactivates group
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Description | Required |
|
|
|----------|---------------|-------------|----------|
|
|
|chat\_id|[int53](../types/int53.md) | Group chat identifier | Yes|
|
|
|
|
|
|
### Return type: [Chat](../types/Chat.md)
|
|
|