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 administrator right.
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 administrator right.SetSupergroupStickerSet(int supergroupId, long stickerSetId)
Changes the sticker set of a supergroup; requires canChangeInfo administrator right.SetSupergroupStickerSet(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput 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 administrator right.Returns
Ok
-
SetSupergroupStickerSet
public SetSupergroupStickerSet(int supergroupId, long stickerSetId)Changes the sticker set of a supergroup; requires canChangeInfo administrator right.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()
-