MadelineProto/docs/TD_docs/constructors/messageChatMigrateFrom.md
2017-07-23 16:33:46 +02:00

957 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];

PWRTelegram json-encoded version:

{"_": "messageChatMigrateFrom", "title": "string", "group_id": int}

Or, if you're into Lua:

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