嗨,您好!如何让机器人从链接中读取文本? [英] hi there! how to make bot read text from a link?

查看:63
本文介绍了嗨,您好!如何让机器人从链接中读取文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的代码

HERE IS MY CODE

if (Msg.get_Body().ToLower().StartsWith("help"))
        ((XmppConnection) this.javadjody1).Send("<message type='chat' to='" + (object) ((DirectionalElement) Msg).get_From() + "@nimbuzz.com' id='ltmsg'><body>" + this.textBox7.Text + "</body></message>");



现在而不是从textBox7读取机器人,如果我想要机器人从www.braindirector.com/help.txt读取

我可以对代码做什么改变?


now instead of bot reading from textBox7, if i want bot to read from www.braindirector.com/help.txt
what changes can i make to the code?

推荐答案

哦,谢谢你告诉我。说真的,我错过了那个链接(可能因为没有突出显示):D
oh yeah thanks for telling me. Seriously i missed out on that link (may be because it was not highlighted) :D


这篇关于嗨,您好!如何让机器人从链接中读取文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆