Class TdApi.MessageAnimation

  • Enclosing class:
    TdApi

    public static class TdApi.MessageAnimation
    extends TdApi.MessageContent
    An animation message (GIF-style).
    • Field Detail

      • isSecret

        public boolean isSecret
        True, if the animation thumbnail must be blurred and the animation must be shown only while tapped.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MessageAnimation

        public MessageAnimation()
        Default constructor.
      • MessageAnimation

        public MessageAnimation​(TdApi.Animation animation,
                                TdApi.FormattedText caption,
                                boolean isSecret)
        Constructor for initialization of all fields.
        Parameters:
        animation - Message content.
        caption - Animation caption.
        isSecret - True, if the animation thumbnail must be blurred and the animation must be shown only while tapped.