Package 

Class InputMediaResponse

  • All Implemented Interfaces:
    be.rlab.tehanu.messages.model.Response

    
    public final class InputMediaResponse
     implements Response<InputMedia>
                        

    Represents animation files (GIF or H.264/MPEG-4 AVC video without sound). Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final InputMedia data
      private final String type
    • Method Summary

      Modifier and Type Method Description
      InputMedia getData() The input media content.
      String getType() Response type, one of the InputMediaTypes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InputMediaResponse

        InputMediaResponse(InputMedia data, String type)
    • Method Detail

      • getData

         InputMedia getData()

        The input media content.

      • getType

         String getType()

        Response type, one of the InputMediaTypes.