transferBusinessAccountStars method
Transfers Telegram Stars from the business account balance to the bot's balance.
See: https://core.telegram.org/bots/api#transferbusinessaccountstars
Implementation
Future<bool> transferBusinessAccountStars(
String businessConnectionId,
int starCount,
) async {
final params = <String, dynamic>{
'business_connection_id': businessConnectionId,
'star_count': starCount,
};
final payload = Payload(params);
return await _makeRequest<bool>(
APIMethod.transferBusinessAccountStars.name,
payload,
);
}