🧱 Add basis of tencent rtc

This commit is contained in:
2025-05-07 00:48:34 +08:00
parent 937e249b87
commit 419ed666f6
22 changed files with 13972 additions and 43 deletions

View File

@ -124,3 +124,14 @@ abstract class MessageSyncResponse with _$MessageSyncResponse {
factory MessageSyncResponse.fromJson(Map<String, dynamic> json) =>
_$MessageSyncResponseFromJson(json);
}
@freezed
abstract class ChatRealtimeJoinResponse with _$ChatRealtimeJoinResponse {
const factory ChatRealtimeJoinResponse({
required String token,
required Map<String, dynamic> config,
}) = _ChatRealtimeJoinResponse;
factory ChatRealtimeJoinResponse.fromJson(Map<String, dynamic> json) =>
_$ChatRealtimeJoinResponseFromJson(json);
}