MercuryRequest constructor
MercuryRequest({})
Implementation
factory MercuryRequest({
$core.String? namespace,
$0.User? user,
Message? message,
Conversation? conversation,
$core.int? from,
$core.int? to,
MessageReaction? reaction,
$core.String? authToken,
$core.String? apiKey,
$core.List<$core.int>? data,
}) {
final _result = create();
if (namespace != null) {
_result.namespace = namespace;
}
if (user != null) {
_result.user = user;
}
if (message != null) {
_result.message = message;
}
if (conversation != null) {
_result.conversation = conversation;
}
if (from != null) {
_result.from = from;
}
if (to != null) {
_result.to = to;
}
if (reaction != null) {
_result.reaction = reaction;
}
if (authToken != null) {
_result.authToken = authToken;
}
if (apiKey != null) {
_result.apiKey = apiKey;
}
if (data != null) {
_result.data = data;
}
return _result;
}