TransferGroupOwnerParams

public final class TransferGroupOwnerParams

Parameters for transferring group ownership.

Parameters

newOwnerId

New owner user ID.

Constructors

Link copied to clipboard

Properties

Link copied to clipboard

Leave group configuration (only effective when leaveAfterTransfer is true).

Link copied to clipboard
private Boolean leaveAfterTransfer

Whether to leave the group after transfer. Defaults to false.

Link copied to clipboard
private final String newOwnerId

Functions

Link copied to clipboard
public final LeaveGroupConfig getConfig()

Leave group configuration (only effective when leaveAfterTransfer is true).

Link copied to clipboard
public final Boolean getLeaveAfterTransfer()

Whether to leave the group after transfer. Defaults to false.

Link copied to clipboard
public final String getNewOwnerId()
Link copied to clipboard
public final Unit setConfig(LeaveGroupConfig config)

Leave group configuration (only effective when leaveAfterTransfer is true).

Link copied to clipboard
public final Unit setLeaveAfterTransfer(Boolean leaveAfterTransfer)

Whether to leave the group after transfer. Defaults to false.