sendToUser(self,
title,
body,
priority=INFO,
image=None,
user=None)
| source code
|
Create a message and store it in the IMessageQueue of the user specified. If no user is
specified, use the queue of the current user.
- Parameters:
title - The message title
body - The body of the message
priority - Message priority; one of INFO, WARNING, CRITICAL
image - Optional URL of an image to be displayed in the message
user - Optional username corresponding to the queue to which messages
should be sent. If left as None , the current user's
queue will be used.
- Overrides:
MessageSender.sendToUser
- (inherited documentation)
|