import 'package:electronic_assistant/base/app_base_request.dart';
import 'package:json_annotation/json_annotation.dart';

part 'chat_request.g.dart';

@JsonSerializable()
class ChatRequest extends AppBaseRequest {
  @JsonKey(name: "content")
  late String content;

  @JsonKey(name: "talkId")
  String? talkId;

  @JsonKey(name: "agendaId")
  String? agendaId;

  ChatRequest(this.content, {this.talkId, this.agendaId});

  @override
  Map<String, dynamic> toJson() => _$ChatRequestToJson(this);
}
