1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 02:26:55 +01:00
MadelineProto/docs/TD_docs/constructors/messageChatMigrateFrom.md
2017-07-23 16:11:02 +02:00

954 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, }