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.setInputMessageContent(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:
  • Constructor Details

    • InlineQueryResultGif

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