requested


Description:

[ Version ( since = "0.11.15" ) ]
public bool requested { get; }

true if this channel was created in response to a local request, such as a call to create_channel_async.

false if this channel was initiated by a remote contact (the initiator_handle), or if it appeared as a side-effect of some other action.

For instance, this is false on incoming calls and file transfers, remotely-initiated 1-1 text conversations, and invitations to chatrooms, and true on outgoing calls and file transfers, locally-initiated 1-1 text conversations, and chatrooms joined by local user action.

This is not guaranteed to be meaningful until prepare_async has finished preparing TP_CHANNEL_FEATURE_CORE; until then, it may return false even if the channel was actually requested.




2022 vala-language.org