teleproto - v1.229.0
    Preparing search index...

    Interface MessagesCreateChatParams

    interface MessagesCreateChatParams {
        title: string;
        ttlPeriod?: number;
        users: EntityLike[];
    }
    Index
    title: string

    Chat name

    ttlPeriod?: number

    Time-to-live of all messages that will be sent in the chat: 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.

    users: EntityLike[]

    List of user IDs to be invited