Class MessageFlagsBitField

Hierarchy

Constructors

  • Parameters

    • Optional bits: BitFieldResolvable<"Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage", number>

    Returns MessageFlagsBitField

Properties

bitfield: number
Flags: typeof MessageFlags

Methods

  • Returns IterableIterator<"Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage">

  • Parameters

    • Rest ...bits: BitFieldResolvable<"Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage", number>[]

    Returns BitField<"Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage", number>

  • Parameters

    • bit: BitFieldResolvable<"Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage", number>

    Returns boolean

  • Parameters

    • bit: BitFieldResolvable<"Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage", number>

    Returns boolean

  • Returns Readonly<BitField<"Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage", number>>

  • Parameters

    • bit: BitFieldResolvable<"Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage", number>

    Returns boolean

  • Parameters

    • bits: BitFieldResolvable<"Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage", number>
    • Rest ...hasParams: readonly unknown[]

    Returns ("Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage")[]

  • Parameters

    • Rest ...bits: BitFieldResolvable<"Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage", number>[]

    Returns BitField<"Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage", number>

  • Parameters

    • Rest ...hasParams: readonly unknown[]

    Returns Record<"Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage", boolean>

  • Parameters

    • Rest ...hasParams: readonly unknown[]

    Returns ("Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage")[]

  • Returns number

  • Returns number

  • Parameters

    • Optional bit: BitFieldResolvable<"Crossposted" | "IsCrosspost" | "SuppressEmbeds" | "SourceMessageDeleted" | "Urgent" | "HasThread" | "Ephemeral" | "Loading" | "FailedToMentionSomeRolesInThread" | "ShouldShowLinkNotDiscordWarning" | "SuppressNotifications" | "IsVoiceMessage", number>

    Returns number

Generated using TypeDoc