Search Results for

    Show / Hide Table of Contents

    Class SocketCustomSticker

    Represents a custom sticker within a guild received over the gateway.

    Inheritance
    Object
    SocketEntity<UInt64>
    SocketSticker
    SocketCustomSticker
    Implements
    IEntity<UInt64>
    ICustomSticker
    ISticker
    IStickerItem
    Inherited Members
    SocketSticker.PackId
    SocketSticker.Name
    SocketSticker.Description
    SocketSticker.Tags
    SocketSticker.Type
    SocketSticker.Format
    SocketSticker.IsAvailable
    SocketSticker.SortOrder
    SocketSticker.GetStickerUrl()
    SocketSticker.Equals(Object)
    SocketSticker.GetHashCode()
    SocketEntity<UInt64>.Id
    Namespace: Discord.WebSocket
    Assembly: Discord.Net.WebSocket.dll
    Syntax
    public class SocketCustomSticker : SocketSticker, IEntity<ulong>, ICustomSticker, ISticker, IStickerItem

    Properties

    | Improve this Doc View Source

    Author

    Gets the user that uploaded the guild sticker.

    Declaration
    public SocketGuildUser Author { get; }
    Property Value
    Type Description
    SocketGuildUser
    Remarks
    note

    This may return null in the WebSocket implementation due to incomplete user collection in large guilds, or the bot doesn't have the MANAGE_EMOJIS_AND_STICKERS permission.

    | Improve this Doc View Source

    AuthorId

    Declaration
    public ulong? AuthorId { get; set; }
    Property Value
    Type Description
    Nullable<UInt64>
    | Improve this Doc View Source

    Guild

    Gets the guild the sticker was created in.

    Declaration
    public SocketGuild Guild { get; }
    Property Value
    Type Description
    SocketGuild

    Methods

    | Improve this Doc View Source

    DeleteAsync(RequestOptions)

    Declaration
    public async Task DeleteAsync(RequestOptions options = null)
    Parameters
    Type Name Description
    RequestOptions options
    Returns
    Type Description
    Task
    | Improve this Doc View Source

    ModifyAsync(Action<StickerProperties>, RequestOptions)

    Declaration
    public async Task ModifyAsync(Action<StickerProperties> func, RequestOptions options = null)
    Parameters
    Type Name Description
    Action<StickerProperties> func
    RequestOptions options
    Returns
    Type Description
    Task

    Explicit Interface Implementations

    | Improve this Doc View Source

    ICustomSticker.Guild

    Declaration
    IGuild ICustomSticker.Guild { get; }
    Returns
    Type Description
    IGuild

    Implements

    IEntity<TId>
    ICustomSticker
    ISticker
    IStickerItem

    Theme

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