Search Results for

    Show / Hide Table of Contents

    Class SocketWebhookUser

    Represents a WebSocket-based webhook user.

    Inheritance
    Object
    SocketEntity<UInt64>
    SocketUser
    SocketWebhookUser
    Implements
    IEntity<UInt64>
    IWebhookUser
    IGuildUser
    IUser
    ISnowflakeEntity
    IEntity<UInt64>
    IMentionable
    IPresence
    IVoiceState
    Inherited Members
    SocketUser.PublicFlags
    SocketUser.CreatedAt
    SocketUser.Discriminator
    SocketUser.Mention
    SocketUser.Status
    SocketUser.ActiveClients
    SocketUser.Activities
    SocketUser.MutualGuilds
    SocketUser.CreateDMChannelAsync(RequestOptions)
    SocketUser.GetAvatarUrl(ImageFormat, UInt16)
    SocketUser.GetDefaultAvatarUrl()
    SocketUser.ToString()
    SocketEntity<UInt64>.Id
    Namespace: Discord.WebSocket
    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
    Type Description
    String
    Overrides
    SocketUser.AvatarId
    | Improve this Doc View Source

    DiscriminatorValue

    Declaration
    public override ushort DiscriminatorValue { get; }
    Property Value
    Type Description
    UInt16
    Overrides
    SocketUser.DiscriminatorValue
    | Improve this Doc View Source

    Guild

    Gets the guild of this webhook.

    Declaration
    public SocketGuild Guild { get; }
    Property Value
    Type Description
    SocketGuild
    | Improve this Doc View Source

    IsBot

    Declaration
    public override bool IsBot { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    SocketUser.IsBot
    | Improve this Doc View Source

    IsWebhook

    Declaration
    public override bool IsWebhook { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    SocketUser.IsWebhook
    | Improve this Doc View Source

    Username

    Declaration
    public override string Username { get; }
    Property Value
    Type Description
    String
    Overrides
    SocketUser.Username
    | Improve this Doc View Source

    WebhookId

    Declaration
    public ulong WebhookId { get; }
    Property Value
    Type Description
    UInt64

    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
    Type Description
    ChannelPermissions

    A ChannelPermissions structure representing the permissions that a user has in the specified channel.

    | 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
    Type Description
    GuildPermissions

    A GuildPermissions structure for this user, representing what permissions this user has in the guild.

    | 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

    IEntity<TId>
    IWebhookUser
    IGuildUser
    IUser
    ISnowflakeEntity
    IEntity<TId>
    IMentionable
    IPresence
    IVoiceState

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2022 3.7.2