Class TdApi.SetStickerKeywords
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.SetStickerKeywords
- Enclosing class:
- TdApi
Changes the list of keywords of a sticker. The sticker must belong to a regular or custom emoji sticker set that is owned by the current user.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.String[]
List of up to 20 keywords with total length up to 64 characters, which can be used to find the sticker.Sticker. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which changes the list of keywords of a sticker.SetStickerKeywords
(TdApi.InputFile sticker, String[] keywords) Creates a function, which changes the list of keywords of a sticker. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
sticker
Sticker. -
keywords
List of up to 20 keywords with total length up to 64 characters, which can be used to find the sticker. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetStickerKeywords
public SetStickerKeywords()Default constructor for a function, which changes the list of keywords of a sticker. The sticker must belong to a regular or custom emoji sticker set that is owned by the current user.Returns
Ok
-
SetStickerKeywords
Creates a function, which changes the list of keywords of a sticker. The sticker must belong to a regular or custom emoji sticker set that is owned by the current user.Returns
Ok
- Parameters:
sticker
- Sticker.keywords
- List of up to 20 keywords with total length up to 64 characters, which can be used to find the sticker.
-
-
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
-