Class SuggestedPostPaid

java.lang.Object
io.github.natanimn.telebof.types.suggested.SuggestedPostPaid

public class SuggestedPostPaid extends Object
This object represents a service message about a successful payment for a suggested post.
Since:
3 September 2025
  • Field Details

    • suggested_post_message

      public Message suggested_post_message
      Optional. Message containing the suggested post. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.
    • currency

      public String currency
      Currency in which the payment was made. Currently, one of "XTR" for Telegram Stars or "TON" for toncoins
    • amount

      public Integer amount
      Optional. The amount of the currency that was received by the channel in nanotoncoins; for payments in toncoins only
    • star_amount

      public StarAmount star_amount
      Optional. The amount of Telegram Stars that was received by the channel; for payments in Telegram Stars only
  • Constructor Details

    • SuggestedPostPaid

      public SuggestedPostPaid()