createTemporaryConversation method
To create a new TemporaryConversation.
members
is the Conversation.members.
timeToLive
is the TemporaryConversation.timeToLive.
Returns an instance of TemporaryConversation.
Implementation
Future<TemporaryConversation> createTemporaryConversation({
required Set<String> members,
int? timeToLive,
}) async {
return await _createConversation(
type: _ConversationType.temporary,
members: members,
ttl: timeToLive,
);
}