Class SocketWebhookUser
Represents a WebSocket-based webhook user.
Inheritance
SocketWebhookUser
Assembly: Discord.Net.WebSocket.dll
Syntax
public class SocketWebhookUser : SocketUser, IEntity<ulong>, IWebhookUser, IGuildUser, IUser, ISnowflakeEntity, IEntity<ulong>, IMentionable, IPresence, IVoiceState
Properties
|
Improve this Doc
View Source
AvatarId
Declaration
public override string AvatarId { get; }
Property Value
Overrides
|
Improve this Doc
View Source
DiscriminatorValue
Declaration
public override ushort DiscriminatorValue { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Guild
Gets the guild of this webhook.
Declaration
public SocketGuild Guild { get; }
Property Value
|
Improve this Doc
View Source
IsBot
Declaration
public override bool IsBot { get; }
Property Value
Overrides
|
Improve this Doc
View Source
IsWebhook
Declaration
public override bool IsWebhook { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Username
Declaration
public override string Username { get; }
Property Value
Overrides
|
Improve this Doc
View Source
WebhookId
Declaration
public ulong WebhookId { get; }
Property Value
Explicit Interface Implementations
|
Improve this Doc
View Source
IGuildUser.GetPermissions(IGuildChannel)
Gets the level permissions granted to this user to a given channel.
Declaration
ChannelPermissions IGuildUser.GetPermissions(IGuildChannel channel)
Parameters
Type |
Name |
Description |
IGuildChannel |
channel |
The channel to get the permission from.
|
Returns
|
Improve this Doc
View Source
IGuildUser.Guild
Gets the guild for this user.
Declaration
IGuild IGuildUser.Guild { get; }
Returns
Type |
Description |
IGuild |
A guild object that this user belongs to.
|
|
Improve this Doc
View Source
IGuildUser.GuildPermissions
Gets the guild-level permissions for this user.
Declaration
GuildPermissions IGuildUser.GuildPermissions { get; }
Returns
|
Improve this Doc
View Source
IVoiceState.VoiceChannel
Gets the voice channel this user is currently in.
Declaration
IVoiceChannel IVoiceState.VoiceChannel { get; }
Returns
Type |
Description |
IVoiceChannel |
A generic voice channel object representing the voice channel that the user is currently in; null
if none.
|
Implements