GIFMessage

public final class GIFMessage extends MediaMessageContent

GIF message.

Inherits MediaMessageContent. This message will store and count toward Unread message count.

Inherits from MediaMessageContent properties:

  • localUri Local GIF File path

  • remoteUri Remote GIF File download URL

  • name GIF File name

Constructors

Link copied to clipboard

Properties

Link copied to clipboard
private Long gifDataSize

GIF Data Size (Unit: Byte)

Link copied to clipboard
private Integer height

GIF Image Height

Link copied to clipboard
private Integer width

GIF Image Width

Inherited properties

Link copied to clipboard
private Long destructTime

after reading i.e. burn-after-reading destroy When time (Unit: seconds), message Read after passing This When destroy after time

Link copied to clipboard
private String extra

Message content extra data (follow message Send, Sync Remote)

Link copied to clipboard
private Boolean isDestruct

Whether after reading i.e. burn message

Link copied to clipboard
private String localUri

Media Content Local Path

Link copied to clipboard

@ mention Info

Link copied to clipboard
private String name

Media Content File name

Link copied to clipboard
private String remoteUri

Media Content Upload Server after Remote URL

Functions

Link copied to clipboard
public final Long getGifDataSize()

GIF Data Size (Unit: Byte)

Link copied to clipboard
public final Integer getHeight()

GIF Image Height

Link copied to clipboard
public final Integer getWidth()

GIF Image Width

Link copied to clipboard
public final Unit setGifDataSize(Long gifDataSize)

GIF Data Size (Unit: Byte)

Link copied to clipboard
public final Unit setHeight(Integer height)

GIF Image Height

Link copied to clipboard
public final Unit setWidth(Integer width)

GIF Image Width

Link copied to clipboard
public String toString()

Inherited functions

Link copied to clipboard
public final Long getDestructTime()

after reading i.e. burn-after-reading destroy When time (Unit: seconds), message Read after passing This When destroy after time

Link copied to clipboard
public final String getExtra()

Message content extra data (follow message Send, Sync Remote)

Link copied to clipboard
public final String getLocalUri()

Media Content Local Path

Link copied to clipboard

@ mention Info

Link copied to clipboard
public final String getName()

Media Content File name

Link copied to clipboard
public final String getRemoteUri()

Media Content Upload Server after Remote URL

Link copied to clipboard
public final Boolean isDestruct()

Whether after reading i.e. burn message

Link copied to clipboard
public final Unit setDestruct(Boolean isDestruct)

Whether after reading i.e. burn message

Link copied to clipboard
public final Unit setDestructTime(Long destructTime)

after reading i.e. burn-after-reading destroy When time (Unit: seconds), message Read after passing This When destroy after time

Link copied to clipboard
public final Unit setExtra(String extra)

Message content extra data (follow message Send, Sync Remote)

Link copied to clipboard
public final Unit setLocalUri(String localUri)

Media Content Local Path

Link copied to clipboard
public final Unit setMentionedInfo(MentionedInfo mentionedInfo)

@ mention Info

Link copied to clipboard
public final Unit setName(String name)

Media Content File name

Link copied to clipboard
public final Unit setRemoteUri(String remoteUri)

Media Content Upload Server after Remote URL