Package org.drinkless.tdlib
Class TdApi.ToggleSupergroupSignMessages
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.ToggleSupergroupSignMessages
-
- Enclosing class:
- TdApi
public static class TdApi.ToggleSupergroupSignMessages extends TdApi.Function
Toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.booleansignMessagesNew value of signMessages.longsupergroupIdIdentifier of the channel.
-
Constructor Summary
Constructors Constructor Description ToggleSupergroupSignMessages()Default constructor for a function, which toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right.ToggleSupergroupSignMessages(long supergroupId, boolean signMessages)Creates a function, which toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
supergroupId
public long supergroupId
Identifier of the channel.
-
signMessages
public boolean signMessages
New value of signMessages.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ToggleSupergroupSignMessages
public ToggleSupergroupSignMessages()
Default constructor for a function, which toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right.Returns
Ok
-
ToggleSupergroupSignMessages
public ToggleSupergroupSignMessages(long supergroupId, boolean signMessages)Creates a function, which toggles whether sender signature is added to sent messages in a channel; requires canChangeInfo administrator right.Returns
Ok- Parameters:
supergroupId- Identifier of the channel.signMessages- New value of signMessages.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-