I know this is a old topic, but yea i managed to get vhabot to enter a private channel.
Heres a snippet i use in "Chat.cs":
protected virtual void OnPrivateGroupRequestEvent(PrivateChannelRequestEventArgs e)
{
Console.WriteLine("Invited to group " + this.GetUserName(e.PrivateGroupID));
string user = this.GetUserName(e.PrivateGroupID);
//int pos = user.IndexOf("Iraid");
if (user.IndexOf("Iraid") != -1)
{
Console.WriteLine("Invited by a bot in the iraidnetwork accepting invite ");
SimpleIdPacket packet = new SimpleIdPacket(Packet.Type.PRIVGRP_JOIN, e.PrivateGroupID);
this.SendPacket(packet);
}
if (this.PrivateChannelRequestEvent != null)
{
Console.WriteLine("accept invite");
this.PrivateChannelRequestEvent(this, e);
}
}
With this bot can be much more modular, 1 bot host the channel while another then handles all commands, this enables me to run updates on the bot in "real time" or pretty close to it.