payments.GetSuggestedStarRefBots#

class pyrogram.raw.functions.payments.GetSuggestedStarRefBots#

Obtain a list of suggested mini apps with available affiliate programs order_by_revenue and order_by_date are mutually exclusive: if neither is set, results are sorted by profitability.

Details:
  • Layer: 211

  • ID: D6B48F7

Parameters:
peer (InputPeer):

The peer that will become the affiliate: star commissions will be transferred to this peer’s star balance.

offset (str):

Offset for pagination, taken from payments.suggestedStarRefBots.next_offset, initially empty.

limit (int 32-bit):

Maximum number of results to return, see pagination

order_by_revenue (bool, optional):

If set, orders results by the expected revenue

order_by_date (bool, optional):

If set, orders results by the creation date of the affiliate program

Returns:

payments.SuggestedStarRefBots