{
  "name": "TransactionPartnerAffiliateProgram",
  "anchor": "transactionpartneraffiliateprogram",
  "description": [
    "Describes the affiliate program that issued the affiliate commission received via this transaction."
  ],
  "table": {
    "headers": [
      "Field",
      "Type",
      "Description"
    ],
    "rows": [
      {
        "field": "type",
        "type": "String",
        "description": "Type of the transaction partner, always “affiliate_program”"
      },
      {
        "field": "sponsor_user",
        "type": "User",
        "description": "Optional . Information about the bot that sponsored the affiliate program"
      },
      {
        "field": "commission_per_mille",
        "type": "Integer",
        "description": "The number of Telegram Stars received by the bot for each 1000 Telegram Stars received by the affiliate program sponsor from referred users"
      }
    ]
  },
  "notes": []
}