I recently updated the SendBird.dll in my Xamarin.iOS project with the latest one found here:
Now my code won’t build anymore because the signature for the CreateChannel
that I am calling has changed:
GroupChannel.CreateChannel(ChatManager.Instance.SelectedChannel.Members, true, ChatManager.Instance.SelectedChannel.Url, null, null, null, (GroupChannel newGroupChannel, SendBirdException exc) =>
{
if (exc != null)
{
// Error.
Console.WriteLine(exc.Message);
return;
}
newGroupChannel.MarkAsRead();
});
CreateChannel
now takes a List<SendBird.User>
, not List<SendBird.Member>
Is there a way to get the SendBird.User
object for each of the members that I have? The Member
class has UserId