Search Results for

    Show / Hide Table of Contents

    Class SocketUnknownSticker

    Represents an unknown sticker received over the gateway.

    Inheritance
    Object
    SocketEntity<UInt64>
    SocketSticker
    SocketUnknownSticker
    Implements
    IEntity<UInt64>
    ISticker
    IStickerItem
    Inherited Members
    SocketSticker.Name
    SocketSticker.Format
    SocketSticker.GetStickerUrl()
    SocketSticker.Equals(Object)
    SocketSticker.GetHashCode()
    SocketEntity<UInt64>.Id
    Namespace: Discord.WebSocket
    Assembly: Discord.Net.WebSocket.dll
    Syntax
    public class SocketUnknownSticker : SocketSticker, IEntity<ulong>, ISticker, IStickerItem

    Properties

    | Improve this Doc View Source

    Description

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

    IsAvailable

    Declaration
    public override bool? IsAvailable { get; }
    Property Value
    Type Description
    Nullable<Boolean>
    Overrides
    SocketSticker.IsAvailable
    | Improve this Doc View Source

    PackId

    Declaration
    public override ulong PackId { get; }
    Property Value
    Type Description
    UInt64
    Overrides
    SocketSticker.PackId
    | Improve this Doc View Source

    SortOrder

    Declaration
    public override int? SortOrder { get; }
    Property Value
    Type Description
    Nullable<Int32>
    Overrides
    SocketSticker.SortOrder
    | Improve this Doc View Source

    Tags

    Declaration
    public override IReadOnlyCollection<string> Tags { get; }
    Property Value
    Type Description
    IReadOnlyCollection<String>
    Overrides
    SocketSticker.Tags
    | Improve this Doc View Source

    Type

    Declaration
    public StickerType? Type { get; }
    Property Value
    Type Description
    Nullable<StickerType>

    Methods

    | Improve this Doc View Source

    ResolveAsync(CacheMode, RequestOptions)

    Attempts to try to find the sticker.

    Declaration
    public Task<SocketSticker> ResolveAsync(CacheMode mode = CacheMode.AllowDownload, RequestOptions options = null)
    Parameters
    Type Name Description
    CacheMode mode
    RequestOptions options
    Returns
    Type Description
    Task<SocketSticker>

    The sticker representing this unknown stickers Id, if none is found then null.

    Implements

    IEntity<TId>
    ISticker
    IStickerItem

    Theme

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