AccountChannelRequest.text


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "0.19.0" ) ]
public AccountChannelRequest.text (Account account, int64 user_action_time)

Convenience function to create a new AccountChannelRequest object which will yield a Text channel.

After creating the request, you will also need to set the "target" of the channel by calling one of the following functions:

- set_target_contact - set_target_id

Parameters:

account

a Account

user_action_time

the time of the user action that caused this request, or one of the special values USER_ACTION_TIME_NOT_USER_ACTION or TP_USER_ACTION_TIME_CURRENT_TIME (see user_action_time)

Returns:

a new AccountChannelRequest object