getStickers method
Get Stickers.
ID: d5a5d3a1
.
Implementation
Future<Result<MessagesStickersBase>> getStickers({
required String emoticon,
required int hash,
}) async {
// Preparing the request.
final request = MessagesGetStickers(
emoticon: emoticon,
hash: hash,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<MessagesStickersBase>();
}