- final Pair<byte[], List<SendMessageResult>> results = m.updateGroup(groupId, name, members, avatar);
+ final Pair<GroupId, List<SendMessageResult>> results = m.updateGroup(groupId == null
+ ? null
+ : GroupId.unknownVersion(groupId), name, members, avatar);