• 注册
  • 转载分享 转载分享 关注:83 内容:3686

    分享一些关于QQ的tencent://命令

  • 查看作者
  • 打赏作者
  • 当前位置: 七七博客 > 转载分享 > 正文
    • 2
    • 转载分享
    • Lv.14
      VIP1
      <cmds>
        <cmd name="AddContact"  comment="添加好友">
          <subcmd name="all" comment="添加所有好友,不过滤">
            <param name="uin" comment="需要添加的uin"/>
            <param name="fromid" comment="从何处业务发起的添加好友,主来源ID"/>
            <param name="fromsubid" comment="从何处业务发起的添加好友,子来源ID"/>
          </subcmd>
        </cmd>
        <cmd name="TempChat"  comment="58同城openid换uin,调起临时会话">
          <subcmd name="wpaopenid" call_after_login="true" comment="个人wpa">
            <param name="openid" comment="需要添加的openid"/>
            <param name="appid" comment="应用id"/>
            <param name="version" comment="版本"/>
            <param name="src_type" comment="来自web"/>
            <param name="web_src" comment="host"/>
            <param name="Service" comment="Service"/>
            <param name="sigT" comment="sigT会话签名"/>
            <param name="sigU" comment="sigU会话签名"/>
          </subcmd>
        </cmd>
        <cmd name="StartupVas"  comment="启动业务功能,如宠物,QQ音乐等">
          <subcmd name="QQPet" comment="启动QQ宠物">
            <param name="exparam" comment="透传给宠物的参数"/>
          </subcmd>
        </cmd>
        <cmd name="WblogApply"  comment="微博应用">
          <subcmd name="Rebroad" comment="调用客户端微博的转播消息对话框">
            <param name="MsgID" comment="转播的微博消息ID"/>
          </subcmd>
          <subcmd name="Reply" comment="调用客户端微博的对话消息对话框">
            <param name="MsgID" comment="转播的微博消息ID"/>
          </subcmd>
        </cmd>
        <cmd name="ContactInfo"  comment="联系人资料相关功能">
          <subcmd name="ViewInfo" comment="查看联系人资料">
            <param name="uin" comment="需要查看的好友帐号"/>
          </subcmd>
        </cmd>
        <cmd name="QTalk"  comment="团队语音相关功能">
          <subcmd name="Startup" comment="启动团队语音,进入房间">
            <param name="account" comment="帐号"/>
            <param name="roomid" comment="房间号"/>
            <param name="extparam" comment="扩展参数,QT可以在这里自定义更多参数的格式"/>
          </subcmd>
        </cmd>
        <cmd name="QPlusEvent"  comment="QPlus事件通知">
          <subcmd name="OnHidden" comment="QPlus隐藏通知">
            <param name="uin" comment="QPlus登录的QQ帐号"/>
          </subcmd>
          <subcmd name="OnExit" comment="QPlus退出通知">
            <param name="uin" comment="QPlus登录的QQ帐号"/>
          </subcmd>
          <subcmd name="OnShowMainPanel" comment="QPlus调用QQ显示主面板">
            <param name="uin" comment="QPlus登录的QQ帐号"/>
          </subcmd>
          <!--Begin->2012-06-10 Added by lovekidchen for Qplus-->
          <subcmd name="OnOpenAppFromDesktop" call_after_login="true" comment="QPlus调用添加/打开应用">
            <param name="appid" comment="QPlus添加/打开应用的id"/>
          </subcmd>
          <!--End->2012-06-10 Added by lovekidchen for Qplus-->
        </cmd>
        <cmd name="QPlusAppTest" comment="页面调用QQ试玩窗口">
          <subcmd name="OpenQPlusAppExpress" call_after_login="true" comment="调用QQ试玩窗口">
            <param name="dwAppId" comment="应用程序 id"/>
            <param name="strAppName" comment="应用程序名"/>
            <param name="intWidth" comment="试玩窗口宽"/>
            <param name="intHeight" comment="试玩窗口高"/>
            <param name="dwFromUin" comment="推荐好友 uin"/>
          </subcmd>
        </cmd>
        <cmd name="AudioVideo" comment="AudioVideo事件通知">
          <subcmd name="JoinGVideo" call_after_login="true" comment="飞机票加入多人视通知">
            <param name="ticket" comment="多人视频飞机票内容"/>
          </subcmd>
          <subcmd name="LiveWnd" call_after_login="true" comment="打开app">
            <param name="param" comment="json参数串"/>
          </subcmd>
        </cmd>
        <cmd name="JoinGroupAudioVideo" comment="群组多人音视频事件通知">
          <subcmd name="JoinGAV" call_after_login="true" comment="加群并进入多人音视频">
            <param name="param" comment="json参数串"/>
          </subcmd>
        </cmd>
        <cmd name="SpeedDating" comment="SpeedDating事件通知">
          <subcmd name="Startup"  comment="SpeedDating启动闪约">
            <param name="uin" comment="帐号"/>
            <param name="extparam" comment="扩展参数"/>
          </subcmd>
        </cmd>
        <cmd name="qplusprotocol" comment="web拉起QPlus">
          <subcmd name="runapp" call_after_login="true" comment="web拉起QPlus的应用app">
            <param name="appid" comment="appID"/>
          </subcmd>
        </cmd>
        <cmd name="groupwpa"  comment="群WPA">
          <subcmd name="all" call_after_login="true" comment="添加并打开">
            <param name="param" comment="json参数串"/>
          </subcmd>
          <subcmd name="OpenGroup" call_after_login="true" comment="添加并打开">
            <param name="param" comment="json参数串"/>
          </subcmd>
          <subcmd name="OpenApp" call_after_login="true" comment="打开app">
            <param name="param" comment="json参数串"/>
          </subcmd>
        </cmd>
        <cmd name="QQInternet" comment="qq互联">
          <subcmd name="savemsg" call_after_login="true" comment="保存消息记录">
            <param name="dwFromUin" comment="发起方的uin"/>
            <param name="msgcontent" comment="消息内容"/>
            <param name="shareto" comment="json参数保存接收方的uin列表"/>
          </subcmd>
        </cmd>
        <cmd name="openchat" comment="打開聊天會話">
          <subcmd name="opengroup" call_after_login="true" comment="打開群">
            <param name="id" comment="群id"/>
          </subcmd>
          <subcmd name="opendiscuss" call_after_login="true" comment="打開討論組">
            <param name="id" comment="討論組id"/>
          </subcmd>
          <subcmd name="dec" call_after_login="true" comment="加密方式打开好友/群会话"> 
            <param name="info" comment="加密后的内容(先aes128,再base64)"/>
          </subcmd>
        </cmd>
        <cmd name="finger"  comment="查找">
          <subcmd name="qiaoyuka" comment="巧遇卡">
            <param name="param" comment="json参数串"/>
          </subcmd>
          <subcmd name="OpenWebSearch" call_after_login="true" comment="打开web查找指定页面">
            <param name="exparam" comment="这个参数直接透传给网页"/>
          </subcmd>
        </cmd>
        <cmd name="QQGame"  comment="QQGame">
          <!--这样写是不科学的,必须要有子命令!
              因为老协议已经写成这样了,被迫迁就下。ramonji 2013/1/14-->
          <subcmd name="null" comment="无子命令号">
            <param name="cmdID" comment="cmdID"/>
            <param name="GameID" comment="GameID"/>
            <param name="ServerID" comment="ServerID"/>
            <param name="RoomID" comment="RoomID"/>
          </subcmd>
        </cmd>
        <cmd name="QQMicroGameHall" comment="微端">
          <subcmd name="OpenQQGameHall" comment="打开QQ游戏下载">
          </subcmd>
        </cmd>
        <cmd name="friendcircle" comment="圈子">
          <subcmd name="showmainframe"  comment="打开圈子主面板">
            <param name="qid" comment="圈号"/>
            <param name="qfid" comment="圈内id"/>
            <param name="params" comment="扩展参数"/>
          </subcmd>
        </cmd>
        <cmd name="AppBox" comment="web拉起应用管理器">
          <subcmd name="OpenTab" call_after_login="true" comment="web拉起应用器定位到对应的Tab">
            <param name="appID" comment="应用ID"/>
            <param name="tabName" comment="需要定位的Tab页名字"/>
            <param name="action" comment="对应用进行的操作"/>
          </subcmd>
        </cmd>
        <cmd name="StartupApp"  comment="启动,进入房间">
          <subcmd name="TianTian" call_after_login="true" comment="guagua相关功能">
            <param name="account" comment="帐号"/>
            <param name="roomid" comment="房间号"/>
            <param name="extparam" comment="扩展参数,guagua可以在这里自定义更多参数的格式"/>
            <param name="srcid"  comment="来源id,用于数据统计"/>
          </subcmd>
          <subcmd name="OnlineDating" comment="QQ交友相关功能">
            <param name="operate" comment="操作方式(如OpenRoom)"/>
            <param name="roomid" comment="房间号"/>
            <param name="channelid" comment="渠道ID"/>
            <param name="fromid" comment="来源ID,比如QQ上的功能位置"/>
            <param name="appname" comment="业务名称, URL编码"/>
            <param name="loadingshow"  comment="是否显示加载界面"/>
            <param name="extparam" comment="扩展参数,可以在这里自定义更多参数的格式, URL编码"/>
          </subcmd>
          <subcmd name="BoBo" call_after_login="true" comment="BoBo相关功能">
            <param name="account" comment="帐号"/>
            <param name="roomid" comment="房间号"/>
            <param name="subroomid" comment="子房间号"/>
            <param name="extparam" comment="扩展参数,BoBo可以在这里自定义更多参数的格式"/>
            <param name="windowWidth" comment="Web窗口的宽度(0表示使用默认)"/>
            <param name="windowHeight" comment="Web窗口的高度(0表示使用默认)"/>
            <param name="confirmCloseWindow" comment="关闭窗口时弹框确认(默认是弹)"/>
            <param name="bgDownloadWhenMini" comment="最小化窗口时是否进入后台下载(默认是)"/>
            <param name="srcid" comment="来源id,用于数据统计"/>
            <param name="bg" comment="默认不显示窗口"/>
          </subcmd>
          <subcmd name="QT" call_after_login="true" comment="QT娱乐相关功能">
            <param name="account" comment="帐号"/>
            <param name="roomid" comment="房间号"/>
            <param name="subroomid" comment="子房间号"/>
            <param name="extparam" comment="扩展参数,QT娱乐可以在这里自定义更多参数的格式"/>
            <param name="windowWidth" comment="Web窗口的宽度(0表示使用默认)"/>
            <param name="windowHeight" comment="Web窗口的高度(0表示使用默认)"/>
            <param name="confirmCloseWindow" comment="关闭窗口时弹框确认(默认是弹)"/>
            <param name="bgDownloadWhenMini" comment="最小化窗口时是否进入后台下载(默认是)"/>
            <param name="srcid" comment="来源id,用于数据统计"/>
          </subcmd>
          <subcmd name="StartGame" call_after_login="true" comment="启动游戏,如游戏中心、CF等">
            <param name="gameid" comment="游戏ID"/>
            <param name="gameurl" comment="未安装该游戏时的跳转链接"/>
            <param name="source" comment="来源"/>
            <param name="launchparam" comment="启动参数"/>
          </subcmd>
        </cmd>
        <cmd name="Discuss" comment="Discuss飞机票">
          <subcmd name="JoinDiscuss" call_after_login="true" comment="飞机票加入讨论组">
            <param name="ticket" comment="讨论组飞机票内容"/>
          </subcmd>
        </cmd>
        <cmd name="OpenPublicAccInfo" comment="打开公众帐号资料框">
          <subcmd name="Coupon" call_after_login="true" comment="打开优惠卷框">
            <param name="accountid" comment="公众帐号ID(UIN)"/>
            <param name="subid" comment="子ID(优惠卷ID)"/>
            <param name="width" comment="窗口宽度(0表示使用默认)"/>
            <param name="height" comment="窗口高度(0表示使用默认)"/>
            <param name="extparam" comment="扩展参数"/>
          </subcmd>
        </cmd>
        <cmd name="QQDataLine" comment="打开QQ数据线">
          <subcmd name="OpenMainFrame" call_after_login="true" comment="打开数据线窗口"/>
          <subcmd name="Send" call_after_login="true" comment="发送文件">
            <param name="param0" comment="文件路径,必须经过EecodeUrl。param0~paramN"/>
            <param name="paramcount" comment="文件个数"/>
            <!--tencent://QQDataline/?subcmd=Send&#182;m0=file1&#182;m1=file2&#182;mcount=2-->
          </subcmd>
          <subcmd name="Send2" call_after_login="true" comment="发送文件">
            <param name="filelist" comment="文件列表,指向一个文件路径,必须经过EecodeUrl。该文件列出要发送的文件,以换行符为分隔"/>
            <!--tencent://QQDataline/?subcmd=Send2&filelist=file-->
          </subcmd>
          <subcmd name="OpenWifiPhotoMainFrame" call_after_login="true" comment="打开WifiPhoto主窗口"/>
        </cmd>
        <cmd name="MobileAssist" comment="应用宝手机助手">
          <subcmd name="installapk" call_after_login="true" commnet="安装手机应用">
            <param name="appid" comment="应用ID"/>
            <param name="package" comment="安装包"/>
            <param name="extra" comment="其他参数"/>
          </subcmd>
          <subcmd name="webapp" call_after_login="true" commnet="网页应用">
            <param name="business" comment="业务类型"/>
            <param name="extra" comment="其他参数"/>
            <param name="source" comment="来源"/>
          </subcmd>
        </cmd>
       
        <cmd name="OpenHotWordApp" comment="打开热词应用(轻应用)">
          <subcmd name="AIORight" call_after_login="true" comment="在AIO右侧打开应用">
            <param name="buddyuin" comment="当前会话的对方UIN"/>
            <param name="chattype" comment="会话类型"/>
            <param name="exparam" comment="这个参数直接透传给网页"/>
          </subcmd>
        </cmd>
        <cmd name="OpenGroupConfig" comment="打开群资料">
          <subcmd name="GroupConfigCard" call_after_login="true" comment="打开群资料卡">
            <param name="groupUin" comment="群UIN"/>
            <param name="extParam" conment="透传参数"/>
          </subcmd>
        </cmd>
        <cmd name="VisitPublicGroup" comment="访问公开群">
          <subcmd name="VisitPublicGroup" call_after_login="true" comment="访问公开群或者加群">
            <param name="param" comment="json参数串"/>
          </subcmd>
          <subcmd name="VisitPublicGroupEx" call_after_login="true" comment="访问公开群或者加群,透传app参数">
            <param name="param" comment="json参数串"/>
          </subcmd>
        </cmd>
        <cmd name="groupoperation"  comment="群相关">
          <subcmd name="OpenGroup" call_after_login="true" comment="添加并打开">
            <param name="param" comment="json参数串"/>
          </subcmd>
          <subcmd name="OpenApp" call_after_login="true" comment="打开群app">
            <param name="param" comment="json参数串"/>
          </subcmd>
        </cmd>
        <cmd name="QQNewsMini" comment="腾讯新闻迷你版">
          <subcmd name="OpenMiniportal" call_after_login="true" comment="打开腾讯新闻迷你版">
          </subcmd>
        </cmd>
        <!--Begin->20140508 lovekidchen:#QQ5.6#系统右键菜单发起转发入口-->
        <cmd name="QQForwardFile" comment="转发文件">
          <subcmd name="ForwardFromOsMenu" call_after_login="true" comment="转发文件">
            <param name="inParam" comment="文件列表,指向一个文件路径,必须经过EecodeUrl。该文件列出要发送的文件,以换行符为分隔"/>
            <!--tencent://QQForwardFile/?subcmd=Send2&filelist=-->
          </subcmd>
        </cmd>
        <cmd name="QQEducation" comment="在线教育">
          <subcmd name="ShareCard" call_after_login="true" comment="请说明">
          </subcmd>
        </cmd>
        <!--End->20140508 lovekidchen:#QQ5.6#系统右键菜单发起转发入口-->
        <!--Begin leezyli: 浏览器插件调起客户端-->
        <cmd name="QQWebGarb" comment="浏览器插件">
          <subcmd name="ForwardWebGarb" call_after_login="true" comment="浏览器插件数据转发">
            <param name="category" comment="类别"></param>
          </subcmd>
          <subcmd name="OpenWnd" call_after_login="true" comment="打开指定的收藏窗口(主窗口、编辑窗口等)">
            <param name="WndGuid" comment="窗口的GUID"></param>
          </subcmd>
        </cmd>
        <!--End 浏览器插件调起客户端-->
        <cmd name="MedalWall" comment="勋章墙">
          <subcmd name="OpenMedalWall" call_after_login="true" comment="网页打开勋章墙">
          </subcmd>
        </cmd>
       
       
       
        <!--name是大命令字
        confhr:讨论组面试会议
        confpstn:讨论组会议
        DiscConf:讨论组会议
        里面的参数都一样。可以无视这些大命令字,直接根据参数做处理
        -->
        <cmd name="confhr" comment="讨论组面试会议">
          <!--插件web调用QQTencent串-->
          <!--tencent://confhr/?subcmd=Start&fuin=uin&discname=rtxname&user=selfname&feedkey=key&ticket=tickett&stask=stask-->
          <subcmd name="Start" call_after_login="true" comment="加入一个讨论组并启动会议">
            <param name="fuin" comment
      <param name="discname" comment="新建后的讨论组名字"/>
            <param name="user" comment="自己的昵称"/>
            <param name="ticket_f" comment="飞机票内容, 优先使用这个。 拼接格式: [url] 链接[/url]$ticket_f$"/>
            <param name="ticket" comment="飞机票内容, 拼接格式: [url] 链接[/url]$ticket$ "/>
            <param name="feedkey" comment="跟插件后台进行交互的标识,用于反馈该tencent串执行结果。不是必须的"/>
            <param name="stask" comment="任务标记"/>
            <param name="confidshort" comment="会议id号,用于pstn主动拨打输入。不是必须的"/>
            <param name="pstnappid" comment="与会议id号对应,表示某类业务。不是必须的"/>
          </subcmd>
       
          <!--tencent://confhr/?subcmd=Join&fuin=uin&discname=rtxname&user=selfname&feedkey=key&ticket=ticket&stask=stask-->
          <subcmd name="Join" call_after_login="true" comment="加入一个讨论组并加入会议"> 
          </subcmd>
        </cmd>
         
        <cmd name="confpstn" comment="讨论组会议">
          <!--插件web调用QQTencent串-->
          <!--tencent://confpstn/?subcmd=Start&fuin=uin&discname=rtxname&user=selfname&feedkey=key&ticket=tickett&stask=stask-->
          <subcmd name="Start" call_after_login="true" comment="加入一个讨论组并启动会议"> 
          </subcmd>
          <!--tencent://confpstn/?subcmd=Join&fuin=uin&discname=rtxname&user=selfname&feedkey=key&ticket=ticket&stask=stask-->
          <subcmd name="Join" call_after_login="true" comment="加入一个讨论组并加入会议"> 
          </subcmd>
        </cmd>
         
        <cmd name="DiscConf" comment="讨论组会议">    
          <!--插件web调用QQTencent串-->
          <!--tencent://DiscConf/?subcmd=Start&fuin=uin&discname=rtxname&user=selfname&feedkey=key&ticket=tickett&stask=stask-->
          <subcmd name="Start" call_after_login="true" comment="创建一个讨论组并启动会议"> 
          </subcmd>
          <!--tencent://DiscConf/?subcmd=Join&fuin=uin&discname=rtxname&user=selfname&feedkey=key&ticket=ticket&stask=stask-->
          <subcmd name="Join" call_after_login="true" comment="加入一个讨论组并加入会议"> 
          </subcmd>    
        </cmd>
         
        <!--tencent://IOT/?subcmd=OpenPublicDevice&din=din -->
        <cmd name="IOT" comment="IOT">
          <subcmd name="OpenPublicDevice" call_after_login="true" comment="打开QQ物联公共设备">
            <param name="din" comment="设备DIN"/>
          </subcmd>
        </cmd>
       
        <cmd name="MobileGame" comment="手游中心">
            <subcmd name="OpenWeb" call_after_login="true" comment="打开游戏页面">
            <param name="uin" comment="uin"/>
          </subcmd>
        </cmd>
      </cmds>

      部分代码被这该死的系统解析错误了,所以提供了一份TXT文档,有需要的可以自行下载查阅~

      隐藏内容需要回复可以看见

      回复
      Lv.1

      水贴是孤独的,贴是好帖,时间有点久远不知道还能用不

      回复

      楼主辛苦了,谢谢楼主,楼主好人一生平安!

      回复

      请登录之后再进行评论

      登录
    • 任务系统
    • 帖子间隔 侧栏位置: