SCSendMessage constructor

SCSendMessage({
  1. Int64? chatId,
  2. Int64? msgId,
  3. Timestamp? msgTime,
  4. String? errMsg,
})

Implementation

factory SCSendMessage({
  $fixnum.Int64? chatId,
  $fixnum.Int64? msgId,
  $1.Timestamp? msgTime,
  $core.String? errMsg,
}) {
  final $result = create();
  if (chatId != null) {
    $result.chatId = chatId;
  }
  if (msgId != null) {
    $result.msgId = msgId;
  }
  if (msgTime != null) {
    $result.msgTime = msgTime;
  }
  if (errMsg != null) {
    $result.errMsg = errMsg;
  }
  return $result;
}