- Enclosing class:
- TdApi
Toggles whether joining is mandatory
to send messages to a discussion
supergroup; requires canRestrictMembers administrator right.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intbooleanNew value of joinToSendMessages.longIdentifier of the supergroup. -
Constructor Summary
ConstructorsConstructorDescriptionToggles 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-