Package it.tdlight.jni
Class TdApi.SetSupergroupStickerSet
- Enclosing class:
- TdApi
public static class TdApi.SetSupergroupStickerSet extends TdApi.Function<TdApi.Ok>
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.long
supergroupId
Identifier of the supergroup. -
Constructor Summary
Constructors Constructor Description SetSupergroupStickerSet()
Changes the sticker set of a supergroup; requires canChangeInfo administrator right.SetSupergroupStickerSet(long 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 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 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(long supergroupId, long stickerSetId)Changes the sticker set of a supergroup; requires canChangeInfo administrator right.Returns
Ok
- Parameters:
supergroupId
- long 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()
-