mastodon-app-ufficiale-android/mastodon/src/main/java/org/joinmastodon/android/model/Emoji.java

34 lines
647 B
Java

package org.joinmastodon.android.model;
import org.joinmastodon.android.api.RequiredField;
/**
* Represents a custom emoji.
*/
public class Emoji extends BaseModel{
/**
* The name of the custom emoji.
*/
@RequiredField
public String shortcode;
/**
* A link to the custom emoji.
*/
@RequiredField
public String url;
/**
* A link to a static copy of the custom emoji.
*/
@RequiredField
public String staticUrl;
/**
* Whether this Emoji should be visible in the picker or unlisted.
*/
@RequiredField
public boolean visibleInPicker;
/**
* Used for sorting custom emoji in the picker.
*/
public String category;
}