getForumTopics method
Get Forum Topics.
ID: 3ba47bff.
Implementation
Future<Result<MessagesForumTopicsBase>> getForumTopics({
required InputPeerBase peer,
String? q,
required DateTime offsetDate,
required int offsetId,
required int offsetTopic,
required int limit,
}) async {
// Preparing the request.
final request = MessagesGetForumTopics(
peer: peer,
q: q,
offsetDate: offsetDate,
offsetId: offsetId,
offsetTopic: offsetTopic,
limit: limit,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<MessagesForumTopicsBase>();
}