getConnectedStarRefBots method
Future<Result<PaymentsConnectedStarRefBotsBase> >
getConnectedStarRefBots({
- required InputPeerBase peer,
- DateTime? offsetDate,
- String? offsetLink,
- required int limit,
Get Connected Star Ref Bots.
ID: 5869a553.
Implementation
Future<Result<PaymentsConnectedStarRefBotsBase>> getConnectedStarRefBots({
required InputPeerBase peer,
DateTime? offsetDate,
String? offsetLink,
required int limit,
}) async {
// Preparing the request.
final request = PaymentsGetConnectedStarRefBots(
peer: peer,
offsetDate: offsetDate,
offsetLink: offsetLink,
limit: limit,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<PaymentsConnectedStarRefBotsBase>();
}