Class SuggestedPostParameters

java.lang.Object
io.github.natanimn.telebof.types.suggested.SuggestedPostParameters
All Implemented Interfaces:
Serializable

public class SuggestedPostParameters extends Object implements Serializable
Contains parameters of a post that is being suggested by the bot.
Since:
3 September 2025
See Also:
  • Constructor Details

    • SuggestedPostParameters

      public SuggestedPostParameters()
  • Method Details

    • setPrice

      public void setPrice(SuggestedPostPrice price)
      Optional
      Parameters:
      price - Optional. Proposed price for the post. If the field is omitted, then the post is unpaid.
    • setDate

      public void setDate(Integer date)
      Optional
      Parameters:
      date - Optional. Proposed send date of the post. If specified, then the date must be between 300 second and 2678400 seconds (30 days) in the future. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user who approves it.