- Enclosing class:
- TdApi
Toggles whether sender signature is
added to sent messages 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 whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right.ToggleSupergroupSignMessages
(long supergroupId, boolean signMessages) Toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right.Toggles whether sender signature is added to sent messages 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 whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right. ReturnsOk
-
ToggleSupergroupSignMessages
public ToggleSupergroupSignMessages(long supergroupId, boolean signMessages) Toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right. ReturnsOk
- Parameters:
supergroupId
- long Identifier of the channel.signMessages
- boolean New value of signMessages.
-
ToggleSupergroupSignMessages
Toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right. ReturnsOk
- 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()
-