Package it.tdlight.jni
Class TdApi.ToggleSupergroupSignMessages
- Enclosing class:
- TdApi
Toggles sender signatures messages
sent in a channel; requires canChangeInfo administrator right.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
New value of signMessages.long
Identifier of the channel. -
Constructor Summary
ConstructorDescriptionToggles sender signatures messages sent in a channel; requires canChangeInfo administrator right.ToggleSupergroupSignMessages
(long supergroupId, boolean signMessages) Toggles sender signatures messages sent in a channel; requires canChangeInfo administrator right. -
Method Summary
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 channel. -
signMessages
public boolean signMessagesNew value of signMessages. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ToggleSupergroupSignMessages
public ToggleSupergroupSignMessages()Toggles sender signatures messages sent in a channel; requires canChangeInfo administrator right.Returns
Ok
-
ToggleSupergroupSignMessages
public ToggleSupergroupSignMessages(long supergroupId, boolean signMessages) Toggles sender signatures messages sent in a channel; requires canChangeInfo administrator right.Returns
Ok
- Parameters:
supergroupId
- long 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()
-