- Enclosing class:
- TdApi
Toggles whether joining is mandatory
to send messages to a discussion
supergroup; requires canRestrictMembers administrator right.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
New value of joinToSendMessages.long
Identifier of the supergroup. -
Constructor Summary
ConstructorDescriptionToggles whether joining is mandatory to send messages to a discussion supergroup; requires canRestrictMembers administrator right.ToggleSupergroupJoinToSendMessages
(long supergroupId, boolean joinToSendMessages) Toggles whether joining is mandatory to send messages to a discussion supergroup; requires canRestrictMembers administrator right.Toggles whether joining is mandatory to send messages to a discussion supergroup; requires canRestrictMembers 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 supergroup. -
joinToSendMessages
public boolean joinToSendMessagesNew value of joinToSendMessages. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ToggleSupergroupJoinToSendMessages
public ToggleSupergroupJoinToSendMessages()Toggles whether joining is mandatory to send messages to a discussion supergroup; requires canRestrictMembers administrator right. ReturnsOk
-
ToggleSupergroupJoinToSendMessages
public ToggleSupergroupJoinToSendMessages(long supergroupId, boolean joinToSendMessages) Toggles whether joining is mandatory to send messages to a discussion supergroup; requires canRestrictMembers administrator right. ReturnsOk
- Parameters:
supergroupId
- long Identifier of the supergroup.joinToSendMessages
- boolean New value of joinToSendMessages.
-
ToggleSupergroupJoinToSendMessages
Toggles whether joining is mandatory to send messages to a discussion supergroup; requires canRestrictMembers 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()
-