Class TdApi.EmojiCategory
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.EmojiCategory
- Enclosing class:
- TdApi
Describes an emoji category.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Custom emoji sticker, which represents icon of the category.boolean
True, if the category must be shown first when choosing a sticker for the start page.Name of the category.Source of stickers for the emoji category. -
Constructor Summary
ConstructorDescriptionDescribes an emoji category.EmojiCategory
(String name, TdApi.Sticker icon, TdApi.EmojiCategorySource source, boolean isGreeting) Describes an emoji category. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
name
Name of the category. -
icon
Custom emoji sticker, which represents icon of the category. -
source
Source of stickers for the emoji category. -
isGreeting
public boolean isGreetingTrue, if the category must be shown first when choosing a sticker for the start page. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
EmojiCategory
public EmojiCategory()Describes an emoji category. -
EmojiCategory
public EmojiCategory(String name, TdApi.Sticker icon, TdApi.EmojiCategorySource source, boolean isGreeting) Describes an emoji category.- Parameters:
name
- Name of the category.icon
- Custom emoji sticker, which represents icon of the category.source
- Source of stickers for the emoji category.isGreeting
- True, if the category must be shown first when choosing a sticker for the start page.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-