𐂲⃕𐆃𝐬͢𝐌 ⛧ 𐅕͢𝐨𝐝𝐝͢𝐞𝐫⃕𐂲
前往频道在 Telegram
Bot & WhatsApps All images shared in this channel are for visual purposes only. They are intended solely for illustrative use and do not represent any functional or operational aspects! All phone numbers in the media belong to the channel admin © 2021 tsm
显示更多未指定国家未指定类别
3 308
订阅者
-424 小时
+547 天
+18730 天
帖子存档
3 307
Custom wallpaper (image)😄
USAGE:
await setGroupWallpaper(sock, jid, './wallpaper.jpg')
await setGroupWallpaper(sock, jid, 'https://blabla.com/bla.jpg', { dimLevel: 0 })
await setGroupWallpaper(sock, jid, buffer)
⚠️Remember your custom background can be reported25 11月, 07:20
3 307
You can do stuff like that if you combine background color and theme
25 11月, 07:13
3 307
sock.relayMessage(jid, {
protocolMessage: {
type: 34,
chatThemeSetting: {
settingTimestampMs: Date.now(),
colorSchemeId: "Default-Blue@Minimal"
}
}
}, {
additionalAttributes: {
type: 'media'
}
})
All theme ids available:
Default-Blue@Minimal Default-Blue@Tonal@Minimal Emerald@Minimal Emerald@Tonal@Minimal Pink@Minimal Red@Minimal Royal-Blue@Minimal Tyrian-Purple@Minimal WhatsApp-Green@Minimal
25 11月, 07:11
3 307
This is how to set a custom color background for all in groups:
sock.relayMessage(jid, {
protocolMessage: {
type: 34,
chatThemeSetting: {
settingTimestampMs: Date.now(),
solidColor: {
backgroundLightArgb: 0xFFFF0000,
backgroundDarkArgb: 0xFFFF0000,
isDoodleEnabled: false
}
}
}
}, {
additionalAttributes: {
type: 'media'
}
})
requirements:
const isChatTheme = message.protocolMessage?.type === proto.Message.ProtocolMessage.Type.CHAT_THEME_SETTING;
const mediaType = originalMediaType || (isChatTheme ? 'chat_theme' : getMediaType(message))
above
```
if (mediaType) {
extraAttrs['mediatype'] = mediaType;
}
`
in baileys (messages-send.js)25 11月, 07:05
3 307
This is how to set a custom color background for all in groups:
sock.relayMessage(jid, {
protocolMessage: {
type: 34,
chatThemeSetting: {
settingTimestampMs: Date.now(),
solidColor: {
backgroundLightArgb: 0xFFFF0000,
backgroundDarkArgb: 0xFFFF0000,
isDoodleEnabled: false
}
}
}
}, {
additionalAttributes: {
type: 'media'
}
})
requirements:
const isChatTheme = message.protocolMessage?.type === proto.Message.ProtocolMessage.Type.CHAT_THEME_SETTING;
const mediaType = originalMediaType || (isChatTheme ? 'chat_theme' : getMediaType(message))
above
if (mediaType) {
extraAttrs['mediatype'] = mediaType;
}25 11月, 07:04
25 11月, ~07:05
3 307
Project ghost "unbanned" bug is finally fixxed🔥
Test it out: @ProjGhostBot Report bugs in the chat group: @TsModder
10 11月, 09:59

