Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class ChatMessageSendingOptions

    Configuration for behaviour of sending utilities when sending a chat message.

    Inheritance
    System.Object
    ChatMessageSendingOptions
    Namespace: TehGM.Wolfringo.Utilities
    Assembly: Wolfringo.Core.dll
    Syntax
    public sealed class ChatMessageSendingOptions

    Constructors

    | Improve this Doc View Source

    ChatMessageSendingOptions()

    Creates a new instance of options, with all flags set to true.

    Declaration
    public ChatMessageSendingOptions()

    Properties

    | Improve this Doc View Source

    AutoDetectGroupLinks

    Whether group links should be automatically detected.

    Declaration
    public bool AutoDetectGroupLinks { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    AutoDetectWebsiteLinks

    Whether website links should be automatically detected.

    Declaration
    public bool AutoDetectWebsiteLinks { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Default

    Default options.

    Declaration
    public static ChatMessageSendingOptions Default { get; }
    Property Value
    Type Description
    ChatMessageSendingOptions
    Remarks

    These options will automatically detect everything - group and website links, and enable all preview embeds.

    | Improve this Doc View Source

    DisableEmbeds

    Options that enable detection but disable embeds.

    Declaration
    public static ChatMessageSendingOptions DisableEmbeds { get; }
    Property Value
    Type Description
    ChatMessageSendingOptions
    Remarks

    These options will automatically detect group and website links, but disable all preview embeds.

    | Improve this Doc View Source

    DisableLinkDetection

    Options that will disable all automatic detection.

    Declaration
    public static ChatMessageSendingOptions DisableLinkDetection { get; }
    Property Value
    Type Description
    ChatMessageSendingOptions
    Remarks

    These options will not detect group and website links.

    | Improve this Doc View Source

    EnableGroupLinkPreview

    Whether group preview should be displayed as embed.

    Declaration
    public bool EnableGroupLinkPreview { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Doesn't have any effect if AutoDetectGroupLinks is set to false.

    | Improve this Doc View Source

    EnableImageLinkPreview

    Whether image preview should be displayed as embed.

    Declaration
    public bool EnableImageLinkPreview { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Doesn't have any effect if AutoDetectWebsiteLinks is set to false.

    | Improve this Doc View Source

    EnableWebsiteLinkPreview

    Whether website preview should be displayed as embed.

    Declaration
    public bool EnableWebsiteLinkPreview { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Doesn't have any effect if AutoDetectWebsiteLinks is set to false.