MadelineProto/docs/TD_docs/constructors/messageChatMigrateFrom.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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}