Virtual Method

PurpleProtocolChatsend

since: 3.0

Declaration [src]

gint
send (
  PurpleProtocolChat* protocol_chat,
  PurpleConnection* connection,
  gint id,
  PurpleConversation* conversation,
  PurpleMessage* message
)

Description [src]

Sends message to the chat identified by id.

Available since: 3.0

Parameters

connection

Type: PurpleConnection

The PurpleConnection instance.

The data is owned by the caller of the function.
id

Type: gint

The id of the chat.

conversation

Type: PurpleConversation

The PurpleConversation of the chat.

The data is owned by the caller of the function.
message

Type: PurpleMessage

The message to send.

The data is owned by the caller of the function.

Return value

Type: gint

0 on success, non-zero on failure.