Skip to main content
Lean’s notification system to display messages.

Display notification

Show a notification message of a specific type.
Lean.API.Notify.Type(text)

Parameters

  • Type - Success, Normal, Error
  • text (string) - The message to display

Returns

Nothing

Example

-- Success notification
Lean.API.Notify.Success("This is a success notification from Lean")

-- Normal notification
Lean.API.Notify.Normal("This is a normal notification from Lean")

-- Error notification
Lean.API.Notify.Error("This is an error notification from Lean")