initiator_contact


Description:

[ Version ( since = "0.15.6" ) ]
public Contact initiator_contact { get; }

The Contact of the initiator of this channel, or null if there is no particular initiator.

If the channel was initiated by a remote contact, this represents that contact, and requested will be false. For instance, for an incoming call this property indicates the caller, and for a chatroom invitation this property indicates who sent the invitation.

If the channel was requested by the local user, requested will be true, and this property may be the group_self_contact or self_contact.

If the channel appeared for some other reason (for instance as a side-effect of connecting to the server), this property may be null.

This is not guaranteed to be set until prepare_async has finished preparing TP_CHANNEL_FEATURE_CONTACTS; until then, it may be null.




2022 vala-language.org