Package it.tdlight.jni
Class TdApi.ToggleSupergroupSignMessages
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.ToggleSupergroupSignMessages
- Enclosing class:
- TdApi
public static class TdApi.ToggleSupergroupSignMessages extends TdApi.Function
Toggles sender signatures messages
sent in a channel; requires canChangeInfo rights.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
signMessages
New value of signMessages.int
supergroupId
Identifier of the channel. -
Constructor Summary
Constructors Constructor Description ToggleSupergroupSignMessages()
Toggles sender signatures messages sent in a channel; requires canChangeInfo rights.ToggleSupergroupSignMessages(int supergroupId, boolean signMessages)
Toggles sender signatures messages sent in a channel; requires canChangeInfo rights.ToggleSupergroupSignMessages(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 channel. -
signMessages
public boolean signMessagesNew value of signMessages. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ToggleSupergroupSignMessages
public ToggleSupergroupSignMessages()Toggles sender signatures messages sent in a channel; requires canChangeInfo rights.Returns
Ok
-
ToggleSupergroupSignMessages
public ToggleSupergroupSignMessages(int supergroupId, boolean signMessages)Toggles sender signatures messages sent in a channel; requires canChangeInfo rights.Returns
Ok
- Parameters:
supergroupId
- int Identifier of the channel.signMessages
- boolean New value of signMessages.
-
ToggleSupergroupSignMessages
- 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()
-