getConnectedStarRefBot method
Future<Result<PaymentsConnectedStarRefBotsBase> >
getConnectedStarRefBot({
- required InputPeerBase peer,
- required InputUserBase bot,
Get Connected Star Ref Bot.
ID: b7d998f0.
Implementation
Future<Result<PaymentsConnectedStarRefBotsBase>> getConnectedStarRefBot({
required InputPeerBase peer,
required InputUserBase bot,
}) async {
// Preparing the request.
final request = PaymentsGetConnectedStarRefBot(peer: peer, bot: bot);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<PaymentsConnectedStarRefBotsBase>();
}