[ CCode ( has_construct_function = false , type = "TpMessage*" ) ]
public ClientMessage.text (ChannelTextMessageType type, string text)
A convenient function to create a new ClientMessage having 'text/plain' as
'content-type', type
as 'message-type' and text
as 'content'.
type |
the type of message |
text |
content of the messsage |
a newly allocated ClientMessage |