listChannelMessages method
Implementation
@override
Future<ChannelMessageList?> listChannelMessages({
required model.Session session,
required String channelId,
int limit = 20,
bool? forward,
String? cursor,
}) async {
assert(limit > 0 && limit <= 100);
return _client.listChannelMessages(
ListChannelMessagesRequest(
channelId: channelId,
limit: Int32Value(value: limit),
forward: BoolValue(value: forward),
cursor: cursor,
),
options: _getSessionCallOptions(session),
);
}