TsgcWSPClient_E2EEEvents › OnE2EEGroupJoin

OnE2EEGroupJoin Event

Fired when the local user joins a group; reports the current member list.

Syntax

property OnE2EEGroupJoin: TsgcWSE2EEOnGroupJoin;
// TsgcWSE2EEOnGroupJoin = procedure(Sender: TObject; const aGroup, aMembers: string) of object

Default Value

Remarks

Fired on the local side after a successful JoinGroup (or implicit join triggered by CreateGroup). aMembers is a delimited list of the users currently in the group. At this point the client has the group key material and can exchange encrypted group messages.

Example

procedure TForm1.oE2EEE2EEGroupJoin(Sender: TObject; const aGroup, aMembers: string);
begin
  Log(Format('joined %s members=%s', [aGroup, aMembers]));
end;

Back to Events