getBotApp method
Get Bot App.
ID: 34fdc5c3
.
Implementation
Future<Result<MessagesBotAppBase>> getBotApp({
required InputBotAppBase app,
required int hash,
}) async {
// Preparing the request.
final request = MessagesGetBotApp(
app: app,
hash: hash,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<MessagesBotAppBase>();
}