Class UserHelpers
Http methods for User class.
public static class UserHelpers
- Inheritance
-
objectUserHelpers
Methods
CreateGroupChannelAsync(CurrentUser, HashSet<User>)
Create a GroupChannel.
public static Task<GroupChannel> CreateGroupChannelAsync(this CurrentUser user, HashSet<User> users)
Parameters
userCurrentUserusersHashSet<User>
Returns
CreateGroupChannelAsync(CurrentUser, HashSet<ulong>)
Create a GroupChannel.
public static Task<GroupChannel> CreateGroupChannelAsync(this CurrentUser user, HashSet<ulong> userIds)
Parameters
userCurrentUseruserIdsHashSet<ulong>
Returns
GetOrCreateDMChannelAsync(User)
Create a DMChannel.
public static Task<DMChannel> GetOrCreateDMChannelAsync(this User user)
Parameters
userUser