togglePinnedToTop method
Toggle Pinned To Top.
ID: 0b297e9b.
Implementation
Future<Result<Boolean>> togglePinnedToTop({
required InputPeerBase peer,
required List<int> id,
}) async {
// Preparing the request.
final request = StoriesTogglePinnedToTop(peer: peer, id: id);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}