Function

Purpleserv_got_im

Declaration [src]

void
purple_serv_got_im (
  PurpleConnection* gc,
  const char* who,
  const char* msg,
  PurpleMessageFlags flags,
  time_t mtime
)

Description [src]

This function is called by the protocol when it receives an IM message.

Parameters

gc PurpleConnection
 

The connection on which the typing message was received.

 The data is owned by the caller of the function.
who const char*
 

The username of the buddy that sent the message.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
msg const char*
 

The actual message received.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
flags PurpleMessageFlags
 

The flags applicable to this message.

mtime time_t
 

The timestamp of the message.