Package it.tdlight.jni
Class TdApi.SetSupergroupStickerSet
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SetSupergroupStickerSet
- Enclosing class:
- TdApi
public static class TdApi.SetSupergroupStickerSet extends TdApi.Function
Changes the sticker set of a supergroup;
requires canChangeInfo rights.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
long
stickerSetId
New value of the supergroup sticker set identifier.int
supergroupId
Identifier of the supergroup. -
Constructor Summary
Constructors Constructor Description SetSupergroupStickerSet()
Changes the sticker set of a supergroup; requires canChangeInfo rights.SetSupergroupStickerSet(int supergroupId, long stickerSetId)
Changes the sticker set of a supergroup; requires canChangeInfo rights.SetSupergroupStickerSet(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
supergroupId
public int 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 CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SetSupergroupStickerSet
public SetSupergroupStickerSet()Changes the sticker set of a supergroup; requires canChangeInfo rights.Returns
Ok
-
SetSupergroupStickerSet
public SetSupergroupStickerSet(int supergroupId, long stickerSetId)Changes the sticker set of a supergroup; requires canChangeInfo rights.Returns
Ok
- Parameters:
supergroupId
- int Identifier of the supergroup.stickerSetId
- long New value of the supergroup sticker set identifier. Use 0 to remove the supergroup sticker set.
-
SetSupergroupStickerSet
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-