𐂲⃕𐆃𝐬͢𝐌 ⛧ 𐅕͢𝐨𝐝𝐝͢𝐞𝐫⃕𐂲
Kanalga Telegram’da o‘tish
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
Ko'proq ko'rsatishMamlakat belgilanmaganToif belgilanmagan
3 308
Obunachilar
-424 soatlar
+547 kun
+18730 kun
Postlar arxiv
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 Noy, 07:20
3 307
You can do stuff like that if you combine background color and theme
25 Noy, 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 Noy, 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 Noy, 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 Noy, 07:04
25 Noy, ~07:05
3 307
Project ghost "unbanned" bug is finally fixxed🔥
Test it out: @ProjGhostBot Report bugs in the chat group: @TsModder
10 Noy, 09:59

