Table of Contents

Class PrivateChannelHelpers

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

Http methods for DMChannel and GroupChannel class.

public static class PrivateChannelHelpers
Inheritance
object
PrivateChannelHelpers

Methods

AddUserAsync(GroupChannel, User)

public static Task AddUserAsync(this GroupChannel channel, User user)

Parameters

channel GroupChannel
user User

Returns

Task

AddUserAsync(GroupChannel, ulong)

public static Task AddUserAsync(this GroupChannel channel, ulong userId)

Parameters

channel GroupChannel
userId ulong

Returns

Task

CloseAsync(DMChannel)

Close the DM channel.

public static Task CloseAsync(this DMChannel channel)

Parameters

channel DMChannel

Returns

Task

EditNameAsync(GroupChannel, string)

Edit the name of the group channel.

public static Task EditNameAsync(this GroupChannel channel, string name)

Parameters

channel GroupChannel
name string

Returns

Task

Remarks

Requires group ownership.

RemoveUserAsync(GroupChannel, User)

public static Task RemoveUserAsync(this GroupChannel channel, User user)

Parameters

channel GroupChannel
user User

Returns

Task

RemoveUserAsync(GroupChannel, ulong)

public static Task RemoveUserAsync(this GroupChannel channel, ulong userId)

Parameters

channel GroupChannel
userId ulong

Returns

Task

TransferOwnershipAsync(GroupChannel, User)

Change ownership of the group channel.

public static Task TransferOwnershipAsync(this GroupChannel channel, User user)

Parameters

channel GroupChannel
user User

Returns

Task

Remarks

Requires group ownership.

TransferOwnershipAsync(GroupChannel, ulong)

Change ownership of the group channel.

public static Task TransferOwnershipAsync(this GroupChannel channel, ulong userId)

Parameters

channel GroupChannel
userId ulong

Returns

Task

Remarks

Requires group ownership.