MessageFetchParams constructor
MessageFetchParams({})
Implementation
factory MessageFetchParams({
required Map<String, dynamic> context,
required int channelId,
int limit = 30,
}) =>
MessageFetchParams._(
args: [],
kwargs: {
'context': context,
'limit': limit,
'domain': [
[
'channel_ids',
'in',
[channelId],
]
],
},
method: 'message_fetch',
model: 'mail.message',
);