爱意满满的作品展示区。
phoenixlzx

可以导出多个 sticker 为图包的 telegram bot wheel

  •  
  •   phoenixlzx ·
    phoenixlzx · Aug 23, 2016 · 7040 views
    This topic created in 3750 days ago, the information mentioned may be changed or developed.

    废话少说,上源码先。戳 GitHub

    然后博文蹭访问: https://blog.phoenixlzx.com/2016/08/23/my-first-yet-useless-telegram-bot/

    因为已经有了用户发 sticker 导出 png 图片的 bot 所以这个基本是重复功能,原本是想实现发 sticker 链接直接导出整组的,然而 telegram API 文档和客户端源码实在是...(ノ=Д=)ノ┻━┻

    测试用 bot (跑在沙盒环境,不一定常开。欢迎各种使(玩)用(坏))

    虽然代码超简单,不过还是欢迎各种 fork 和 star (,,•﹏•,,)

    Supplement 1  ·  Sep 24, 2016
    搬到了 online 的荷兰机房,顺便改为异步请求加速下载。各种求戳求测试求玩坏~
    8 replies  •  2016-09-25 13:17:40 +08:00
    SamWanng
    SamWanng
    Aug 23, 2016
    1


    然后呢?
    phoenixlzx
    phoenixlzx
    OP
    Aug 23, 2016❤️1
    2
    @SamWanng

    - /finish to get compressed zip file, append 'png' if you want to get png images, blank for jpg. Width can be optionally specified at last (no more than 512, blank for 512).

    E.g., '/finish 128' will get jpg images resized at 128px in width, or '/finish png 160' for 160px width png files.
    hahasong
    hahasong
    Aug 23, 2016
    3
    借问如何把 tg 的 gif 导出到 qq 微信
    phoenixlzx
    phoenixlzx
    OP
    Aug 23, 2016 via Android❤️1
    4
    @SamWanng 你也可以一次发一大堆然后打一个包
    SamWanng
    SamWanng
    Aug 23, 2016
    5
    G0D
    G0D
    Aug 26, 2016 via Android
    6
    导出的格式是 jpg ,能不能更改为 png?有些透明色的导出就变白色了。。
    phoenixlzx
    phoenixlzx
    OP
    Aug 26, 2016
    7
    @G0D 可以指定,帮助信息里写了

    /finish png [width] 这样
    marcus930
    marcus930
    Sep 25, 2016 via Android
    8
    @hahasong 同问,貌似 Telegram 转成 MP4 了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1847 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 09:59 · PVG 17:59 · LAX 01:59 · JFK 04:59
    ♥ Do have faith in what you're doing.