Class TdApi.ToggleGroupCallMuteNewParticipants
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.ToggleGroupCallMuteNewParticipants
- Enclosing class:
- TdApi
Toggles whether new participants of a group call can be unmuted only by administrators of the group call. Requires groupCall.canToggleMuteNewParticipants group call flag.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Group call identifier.boolean
New value of the muteNewParticipants setting. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which toggles whether new participants of a group call can be unmuted only by administrators of the group call.ToggleGroupCallMuteNewParticipants
(int groupCallId, boolean muteNewParticipants) Creates a function, which toggles whether new participants of a group call can be unmuted only by administrators of the group call. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
groupCallId
public int groupCallIdGroup call identifier. -
muteNewParticipants
public boolean muteNewParticipantsNew value of the muteNewParticipants setting. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ToggleGroupCallMuteNewParticipants
public ToggleGroupCallMuteNewParticipants()Default constructor for a function, which toggles whether new participants of a group call can be unmuted only by administrators of the group call. Requires groupCall.canToggleMuteNewParticipants group call flag.Returns
Ok
-
ToggleGroupCallMuteNewParticipants
public ToggleGroupCallMuteNewParticipants(int groupCallId, boolean muteNewParticipants) Creates a function, which toggles whether new participants of a group call can be unmuted only by administrators of the group call. Requires groupCall.canToggleMuteNewParticipants group call flag.Returns
Ok
- Parameters:
groupCallId
- Group call identifier.muteNewParticipants
- New value of the muteNewParticipants setting.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-