MadelineProto/docs/TD_docs/constructors/messageChatMigrateFrom.md

817 B

title description
messageChatMigrateFrom Supergroup channel is created from group chat

Constructor: messageChatMigrateFrom

Back to constructors index

Supergroup channel is created from group chat

Attributes:

Name Type Required Description
title string Yes Title of created channel chat
group_id int Yes Identifier of the group it is migrated from

Type: MessageContent

Example:

$messageChatMigrateFrom = ['_' => 'messageChatMigrateFrom', 'title' => string, 'group_id' => int, ];

Or, if you're into Lua:

messageChatMigrateFrom={_='messageChatMigrateFrom', title=string, group_id=int, }