Package org.drinkless.tdlib
Class TdApi.SetSupergroupStickerSet
- Enclosing class:
TdApi
Changes the sticker set of a supergroup; requires canChangeInfo administrator right.
Returns Ok
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function
TdApi.Function.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longNew value of the supergroup sticker set identifier.longIdentifier of the supergroup. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes the sticker set of a supergroup; requires canChangeInfo administrator right.SetSupergroupStickerSet(long supergroupId, long stickerSetId) Creates a function, which changes the sticker set of a supergroup; requires canChangeInfo administrator right. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
supergroupId
public long supergroupIdIdentifier of the supergroup. -
stickerSetId
public long stickerSetIdNew value of the supergroup sticker set identifier. Use 0 to remove the supergroup sticker set. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetSupergroupStickerSet
public SetSupergroupStickerSet()Default constructor for a function, which changes the sticker set of a supergroup; requires canChangeInfo administrator right.Returns
Ok -
SetSupergroupStickerSet
public SetSupergroupStickerSet(long supergroupId, long stickerSetId) Creates a function, which changes the sticker set of a supergroup; requires canChangeInfo administrator right.Returns
Ok- Parameters:
supergroupId- Identifier of the supergroup.stickerSetId- New value of the supergroup sticker set identifier. Use 0 to remove the supergroup sticker set.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Function<TdApi.Ok>- Returns:
- this.CONSTRUCTOR
-