SendBotMessageReq constructor

SendBotMessageReq({
  1. String? agentID,
  2. String? conversationID,
  3. int? contentType,
  4. String? content,
  5. String? ex,
  6. String? key,
})

Implementation

factory SendBotMessageReq({
  $core.String? agentID,
  $core.String? conversationID,
  $core.int? contentType,
  $core.String? content,
  $core.String? ex,
  $core.String? key,
}) {
  final result = create();
  if (agentID != null) result.agentID = agentID;
  if (conversationID != null) result.conversationID = conversationID;
  if (contentType != null) result.contentType = contentType;
  if (content != null) result.content = content;
  if (ex != null) result.ex = ex;
  if (key != null) result.key = key;
  return result;
}