Class InlineQueryResultGif

java.lang.Object
io.github.natanimn.telebof.types.inline.InlineQueryResultGif
All Implemented Interfaces:
InlineQueryResult, Serializable

public class InlineQueryResultGif extends Object
Represents a link to an animated GIF file. By default, this animated GIF file will be sent by the user with optional caption. Alternatively, you can use InlineQueryMediaResult.inputMessageContent(io.github.natanimn.telebof.types.input.InputTextMessageContent) to send a message with the specified content instead of the animation.
Since:
3 March 2025
See Also:
  • Field Details

  • Constructor Details

    • InlineQueryResultGif

      public InlineQueryResultGif(String id, String gif_url, String thumbnail_url)
      Required
      Parameters:
      id - Unique identifier for this result, 1-64 bytes
      gif_url - A valid URL for the GIF file
      thumbnail_url - URL of the static (JPEG or GIF) or animated (MPEG4) thumbnail for the result
  • Method Details