public static class TdApi.ToggleSupergroupSignMessages extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
signMessages
New value of signMessages.
|
int |
supergroupId
Identifier of the channel.
|
Constructor and Description |
---|
ToggleSupergroupSignMessages()
Default constructor for a function, which toggles sender signatures messages sent in a channel; requires canChangeInfo rights.
|
ToggleSupergroupSignMessages(int supergroupId,
boolean signMessages)
Creates a function, which toggles sender signatures messages sent in a channel; requires canChangeInfo rights.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int supergroupId
public boolean signMessages
public static final int CONSTRUCTOR
public ToggleSupergroupSignMessages()
Returns Ok
public ToggleSupergroupSignMessages(int supergroupId, boolean signMessages)
Returns Ok
supergroupId
- Identifier of the channel.signMessages
- New value of signMessages.public int getConstructor()
getConstructor
in class TdApi.Function