Skip to main content
All docs
V26.1
  • MessageSendingEventArgs Properties

    Contains data for the MessageSending event and allows you to intercept message delivery.
    Name Description
    Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
    CancellationToken Specifies an object that propagates a cancellation notification.
    Chat Returns the current AI Chat component.
    Contexts Returns the collection of AI resources and files attached to the chat message.
    Files Returns the collection of files attached to the chat message.
    Text Returns the text of the user message.
    See Also