Interface CreateSupergroupChat

Returns an existing chat corresponding to a known supergroup or channel. Request type for Tdjson#createSupergroupChat.

interface CreateSupergroupChat {
    @type: "createSupergroupChat";
    force?: boolean;
    supergroup_id: number;
}

Properties

@type: "createSupergroupChat"
force?: boolean

Pass true to create the chat without a network request. In this case all information about the chat except its type, title and photo can be incorrect.

supergroup_id: number

Supergroup or channel identifier.