public SendGroupAction ( int groupNumber, string action ) : bool | ||
groupNumber | int | The group to send the action to. |
action | string | The action to send. |
return | bool |
public bool SendGroupAction(int groupNumber, string action)
{
ThrowIfDisposed();
byte[] act = Encoding.UTF8.GetBytes(action);
return ToxFunctions.GroupActionSend(_tox, groupNumber, act, (ushort)act.Length) == 0;
}