Fix TargetMode on Send Text Message

If you don't cast the enum value to an int it sends the following:

sendtextmessage targetmode=TextMessageTarget_CHANNEL target=1 msg=hi
error id=1540 msg=convert\serror