Function createSupergroup
- createSupergroup(
client: ITelegramClient,
params: {
description?: string;
forum?: boolean;
title: string;
ttlPeriod?: number;
},
): Promise<Chat> Parameters
- client: ITelegramClient
- params: { description?: string; forum?: boolean; title: string; ttlPeriod?: number }
Optional
description?: string
Optional
forum?: boolean
title: string
Optional
ttlPeriod?: number
Returns Promise<Chat>
Newly created supergroup
Create a new supergroup