libtd-ktx / kotlinx.telegram.coroutines / createNewBasicGroupChat
createNewBasicGroupChat
suspend fun
TelegramFlow
.createNewBasicGroupChat(userIds:
IntArray
?, title:
String
?):
Chat
Suspend function, which creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns the newly created chat.
Parameters
userIds
- Identifiers of users to be added to the basic group.
title
- Title of the new basic group; 1-128 characters.
Return Chat A chat. (Can be a private chat, basic group, supergroup, or secret chat.)