如何在Android上添加WhatsApp贴纸包而不使用第三方应用程序?

huangapple go评论88阅读模式
英文:

How to add Whatsapp sticker pack without third party app in Android?

问题

我想在Android上向WhatsApp添加/导入一个贴纸包,而无需使用第三方应用程序。生成一个贴纸包文件,并使WhatsApp解释它,就好像它是从应用程序导入的一样。例如,使用一个Node.js服务器。我已经搜索了一些替代方法,但没有成功,不知道还应该在哪里寻找。

我的最终目标是创建一个机器人,给定一组贴纸,创建一个将被添加到WhatsApp的贴纸包。

我正在阅读WhatsApp贴纸的“标准”/示例应用程序,在高级部分中,一切似乎都表明你需要创建一个应用程序来将贴纸包导入WhatsApp,因为你需要一个ContentProvider,它在Android环境中与WhatsApp通信,以便例如创建贴纸。

然而,我的疑惑在于我看到WhatsApp Web 存在,从那里可以创建贴纸(我不知道是否可以添加第三方贴纸包)。所以,如果我要使用类似whatsapp-web.js的库或类似Botsapp的机器人,我可以创建一个代码来创建一个贴纸包(基本上是一个包含webp文件和贴纸元数据json的.wastickers zip扩展文件),并以某种方式模拟一个ContentProvider,以便将此文件发送到WhatsApp,以便在WhatsApp中打开它,并导入为一个具有自己选项卡的贴纸包在贴纸部分。在贴纸应用程序中,允许此操作/按钮的称为“添加到WhatsApp”(https://github.com/WhatsApp/stickers/tree/main/Android#intent)。

英文:

I would like to add/import a sticker pack to Whatsapp without the need to use a third party app on android. Generate a sticker pack file and have it interpreted by whatsapp as if it had been imported from an app. For example a node.js server. I have been searching alternatives but with no luck, and i don't know where else to look.

My final goal is to make a bot that given a list of stickers creates a sticker pack that it will be added to Whatsapp

I was reading the Whatsapp stickers "standard"/sample app and in the advanced section everything seems to indicate that you need to create an app to import a pack of stickers to whatsapp, since you need a ContentProvider, which communicates for example an app to create stickers with whatsapp in the Android environment.

However my doubt comes to the curiosity that I see that whatsapp web exists and from there its possible to create stickers (I do not know whether to add third party stickers pack). So if I were to use a library like whatsapp-web.js or a bot like Botsapp I could create a code to create a sticker pack (which is basically a .wastickers zip extension with webp files and a json for the sticker metadata) and somehow simulate a ContentProvider that sends this file so it can be opened in whatsapp and be imported as a sticker pack with its own tab in the stickers section.
In sticker apps the action/button that allows this is called add to whatsapp

答案1

得分: 1

尝试这个。将所有按文件夹分类的webp表情包最多添加30个到你的手机上。
安装/启动应用程序。它将显示给你这些表情包,通过点击按钮创建表情包组,并将其添加到WhatsApp中。

英文:

https://personal-stickers-for-whatsapp.de.uptodown.com/android/download

Try this. Add all webp stickers sorted in folders, max 30, to your mobile.
Install / start the app. It will show you the stickers, create by button klick the sticker group and add it to Whatsapp.

huangapple
  • 本文由 发表于 2023年6月2日 07:51:29
  • 转载请务必保留本文链接:https://go.coder-hub.com/76386377.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定