teleproto - v1.229.0
    Preparing search index...

    Interface ChannelsCreateChannelParams

    interface ChannelsCreateChannelParams {
        about: string;
        address?: string;
        broadcast?: boolean;
        forImport?: boolean;
        forum?: boolean;
        geoPoint?: TypeInputGeoPointIn;
        megagroup?: boolean;
        title: string;
        ttlPeriod?: number;
    }
    Index
    about: string

    Channel description

    address?: string

    Geogroup address, see here » for more info on geogroups.

    broadcast?: boolean

    Whether to create a channel

    forImport?: boolean

    Whether the supergroup is being created to import messages from a foreign chat service using messages.initHistoryImport

    forum?: boolean

    Whether to create a forum

    Geogroup location, see here » for more info on geogroups.

    megagroup?: boolean

    Whether to create a supergroup

    title: string

    Channel title

    ttlPeriod?: number

    Time-to-live of all messages that will be sent in the supergroup: once message.date+message.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well. You can use messages.setDefaultHistoryTTL to edit this value later.