Funzione statica
Moderato
Client.ShowNotification
Shows a notification using the built-in notification system.
Non ancora tradotto
Sintassi
Client.ShowNotification(text, notification_type = NotificationType.Info, add_to_notification_list = true, duration = 10)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
text
|
string | — | — |
notification_type
facoltativo
|
NotificationType | NotificationType.Info |
— |
add_to_notification_list
facoltativo
|
boolean | true |
Whether to add this notification to the notification list (accessible from the bell icon on the top-right corner) |
duration
facoltativo
|
float | 10 |
Duration in seconds to display the notification |