ClientMessage.text


Description:

[ 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'.

Parameters:

type

the type of message

text

content of the messsage

Returns:

a newly allocated ClientMessage