StarsTransactionPeer

class pyrogram.types.StarsTransactionPeer

Represents the peer involved in a Stars transaction.

Parameters:
  • type (str) – Type of the peer. Can be one of: - “user”: A user - “channel”: A channel/supergroup - “app_store”: Apple App Store - “play_market”: Google Play Market - “fragment”: Fragment - “premium_bot”: Premium Bot - “ads”: Telegram Ads - “api”: Telegram API usage - “unsupported”: Unsupported peer type

  • user (User, optional) – For “user” type, the user.

  • chat (Chat, optional) – For “channel” type, the chat.