TelepathyGLib.ClientMessage¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class TelepathyGLib.ClientMessage(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Opaque structure representing a message in the Telepathy messages interface (client side).
New in version 0.13.9.
- classmethod new()¶
- Returns:
a newly allocated
TelepathyGLib.ClientMessage
having only the header part.- Return type:
A convenient function to create a new
TelepathyGLib.ClientMessage
New in version 0.13.9.
- classmethod new_text(type, text)¶
- Parameters:
type (
TelepathyGLib.ChannelTextMessageType
) – the type of messagetext (
str
) – content of the messsage
- Returns:
a newly allocated
TelepathyGLib.ClientMessage
- Return type:
A convenient function to create a new
TelepathyGLib.ClientMessage
having ‘text/plain’ as ‘content-type’, type as ‘message-type’ and text as ‘content’.New in version 0.13.9.