public async Task <RoomMemberPayload> RoomMemberRawPayload(string roomId, string contactId) { var payload = new RoomMemberPayload(); var request = new RoomMemberPayloadRequest() { Id = roomId, MemberId = contactId }; var response = await grpcClient.RoomMemberPayloadAsync(request); if (response != null) { payload = new RoomMemberPayload() { Avatar = response.Avatar, Id = response.Id, InviterId = response.InviterId, Name = response.Name, RoomAlias = response.RoomAlias }; } return(payload); }
public RoomMemberPayload RoomMemberRawPayloadParser(RoomMemberPayload payload) { return(payload); }
protected override async Task <RoomMemberPayload> RoomMemberRawPayloadParser(RoomMemberPayload rawPayload) { return(_ = rawPayload); }
protected abstract Task <RoomMemberPayload> RoomMemberRawPayloadParser(RoomMemberPayload rawPayload);