migrate chatty
This commit is contained in:
@@ -3,12 +3,12 @@ import 'package:stream_chat_flutter/stream_chat_flutter.dart';
|
||||
|
||||
abstract class StreamApiRepository {
|
||||
Future<List<ChatUser>> getChatUsers();
|
||||
Future<String> getToken(String userId);
|
||||
Future<String?> getToken(String userId);
|
||||
Future<bool> connectIfExist(String userId);
|
||||
Future<ChatUser> connectUser(ChatUser user, String token);
|
||||
Future<ChatUser> connectUser(ChatUser user, String? token);
|
||||
Future<Channel> createGroupChat(
|
||||
String channelId, String name, List<String> members,
|
||||
{String image});
|
||||
Future<Channel> createSimpleChat(String friendId);
|
||||
String channelId, String? name, List<String?>? members,
|
||||
{String? image});
|
||||
Future<Channel> createSimpleChat(String? friendId);
|
||||
Future<void> logout();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user