MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    MiraiGo:关于发送Image消息的小问题

    开发交流
    2
    4
    123
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mengyou last edited by

      48d0af8b-3b9d-4992-9ed1-758c745ba0e3-image.png
      其中这个GetPictureByhttp就是获取对应链接rsp.body
      eb3333d9-9e5c-44d0-9078-0ef98494162f-image.png

      我的问题是:
      1.为什么不能将这个图片发送出去,发送之后就是没有反应,如果我在sendMessage中插入一个TextElement的话,也就只能发送这个TextElement
      2.这个ImageElement结构体的data字段是代表什么,是图片本身的二进制数据还是其他的数据

      因为MiraiGo的文档找不到,所以来此地找大佬解惑,谢谢

      1 Reply Last reply Reply Quote 0
      • Karlatemp
        Karlatemp last edited by

        MiraiGo 并不直接属于 mirai 系列, 相关问题最好还是直接开在 MiraiGo issues

        M 1 Reply Last reply Reply Quote 0
        • M
          mengyou @Karlatemp last edited by

          @karlatemp 好的,多谢

          1 Reply Last reply Reply Quote 0
          • M
            mengyou last edited by

            https://github.com/Logiase/MiraiGo-Template/issues/2
            在MiraiGo 的issue上看到这个的解决方案,顺便放在这里

            bbpp222006 created this issue in Logiase/MiraiGo-Template

            closed 请求增加图片发送教程或模板 #2

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact