{
  "name": "AffiliateInfo",
  "anchor": "affiliateinfo",
  "description": [
    "Contains information about the affiliate that received a commission via this transaction."
  ],
  "table": {
    "headers": [
      "Field",
      "Type",
      "Description"
    ],
    "rows": [
      {
        "field": "affiliate_user",
        "type": "User",
        "description": "Optional . The bot or the user that received an affiliate commission if it was received by a bot or a user"
      },
      {
        "field": "affiliate_chat",
        "type": "Chat",
        "description": "Optional . The chat that received an affiliate commission if it was received by a chat"
      },
      {
        "field": "commission_per_mille",
        "type": "Integer",
        "description": "The number of Telegram Stars received by the affiliate for each 1000 Telegram Stars received by the bot from referred users"
      },
      {
        "field": "amount",
        "type": "Integer",
        "description": "Integer amount of Telegram Stars received by the affiliate from the transaction, rounded to 0; can be negative for refunds"
      },
      {
        "field": "nanostar_amount",
        "type": "Integer",
        "description": "Optional . The number of 1/1000000000 shares of Telegram Stars received by the affiliate; from -999999999 to 999999999; can be negative for refunds"
      }
    ]
  },
  "notes": []
}