reorderPinnedForumTopics method
Future<Result<UpdatesBase> >
reorderPinnedForumTopics({
- required bool force,
- required InputChannelBase channel,
- required List<
int> order,
Reorder Pinned Forum Topics.
ID: 2950a18f
.
Implementation
Future<Result<UpdatesBase>> reorderPinnedForumTopics({
required bool force,
required InputChannelBase channel,
required List<int> order,
}) async {
// Preparing the request.
final request = ChannelsReorderPinnedForumTopics(
force: force,
channel: channel,
order: order,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesBase>();
}