Msg.Message

g GObject.Object GObject.Object Msg.Message Msg.Message GObject.Object->Msg.Message

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

class

new_from_json (json_object)

get_body_preview ()

get_id ()

get_subject ()

set_body (body)

set_subject (subject)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Msg.Message(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Msg.MessageClass

Handling of message specific functions.

Details: https://learn.microsoft.com/en-us/graph/api/resources/message?view=graph-rest-1.0

classmethod new()
Returns:

the newly created MsgMessage

Return type:

Msg.Message

Creates a new MsgMessage.

classmethod new_from_json(json_object)
Parameters:

json_object (Json.Object) – The json object to parse

Raises:

GLib.Error

Returns:

the newly created MsgMessage

Return type:

Msg.Message

Creates a new MsgMessage from json response object.

get_body_preview()
Returns:

body preview of message

Return type:

str

get_id()
Return type:

str

get_subject()
Returns:

subject of message

Return type:

str

set_body(body)
Parameters:

body (str) –

Return type:

bool

set_subject(subject)
Parameters:

subject (str) –

Return type:

bool