SCChatChanged constructor
SCChatChanged(
{ - ChatState? from,
- ChatState? to,
- Int64? chatId,
- ChatItem? chat,
- Int64? target,
})
Implementation
factory SCChatChanged({
$0.ChatState? from,
$0.ChatState? to,
$fixnum.Int64? chatId,
$2.ChatItem? chat,
$fixnum.Int64? target,
}) {
final $result = create();
if (from != null) {
$result.from = from;
}
if (to != null) {
$result.to = to;
}
if (chatId != null) {
$result.chatId = chatId;
}
if (chat != null) {
$result.chat = chat;
}
if (target != null) {
$result.target = target;
}
return $result;
}