@theophilusdev/conduit
    Preparing search index...

    Class ConduitMessageBuilder

    Fluent builder for constructing message payloads in Conduit.

    Provides a chainable API for composing rich messages including: text, mentions, attachments, stickers, emojis, and URLs.

    This builder is converted internally into a ConduitMessageBody before being sent through the Messages API.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    • Adds a mention inside the message body.

      Parameters

      • tag: string

        Display text (e.g. "@john")

      • id: string

        Target user ID

      • OptionalfromIndex: number

        Starting index of the mention in the body string

      Returns ConduitMessageBuilder

      Multiple mentions can be chained. Offsets must match the final body text.