Function

Purpleserv_got_typing

Declaration [src]

void
purple_serv_got_typing (
  PurpleConnection* gc,
  const char* name,
  int timeout,
  PurpleIMTypingState state
)

Description [src]

Receive a typing message from a remote user. Either PURPLE_IM_TYPING or PURPLE_IM_TYPED. If the user has stopped typing then use purple_serv_got_typing_stopped instead.

todo Could probably move this into the conversation API.

Parameters

gc PurpleConnection
 

The connection on which the typing message was received.

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

The name of the remote user.

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

If this is a number greater than 0, then Purple will wait this number of seconds and then set this buddy to the PURPLE_IM_NOT_TYPING state. This is used by protocols that send repeated typing messages while the user is composing the message.

state PurpleIMTypingState
 

The typing state received.