Comments (7)
cek https://github.com/krypton-byte/neonize/blob/master/examples/basic.py#L232
client.send_message(
message.Info.MessageSource.Chat,
Message(
viewOnceMessage=FutureProofMessage(
message=Message(
messageContextInfo=MessageContextInfo(
deviceListMetadata=DeviceListMetadata(),
deviceListMetadataVersion=2,
),
interactiveMessage=InteractiveMessage(
body=InteractiveMessage.Body(text="Body Message"),
footer=InteractiveMessage.Footer(text="@krypton-byte"),
header=InteractiveMessage.Header(
title="Title Message",
subtitle="Subtitle Message",
hasMediaAttachment=False,
),
nativeFlowMessage=InteractiveMessage.NativeFlowMessage(
buttons=[
InteractiveMessage.NativeFlowMessage.NativeFlowButton(
name="single_select",
buttonParamsJSON='{"title":"List Buttons","sections":[{"title":"title","highlight_label":"label","rows":[{"header":"header","title":"title","description":"description","id":"select 1"},{"header":"header","title":"title","description":"description","id":"select 2"}]}]}',
),
InteractiveMessage.NativeFlowMessage.NativeFlowButton(
name="quick_reply",
buttonParamsJSON='{"display_text":"Quick URL","url":"https://www.google.com","merchant_url":"https://www.google.com"}',
),
InteractiveMessage.NativeFlowMessage.NativeFlowButton(
name="cta_call",
buttonParamsJSON='{"display_text":"Quick Call","id":"message"}',
),
InteractiveMessage.NativeFlowMessage.NativeFlowButton(
name="cta_copy",
buttonParamsJSON='{"display_text":"Quick Copy","id":"123456789","copy_code":"message"}',
),
InteractiveMessage.NativeFlowMessage.NativeFlowButton(
name="cta_remainder",
buttonParamsJSON='{"display_text":"Reminder","id":"message"}',
),
InteractiveMessage.NativeFlowMessage.NativeFlowButton(
name="cta_cancel_remainder",
buttonParamsJSON='{"display_text":"Cancel Reminder","id":"message"}',
),
InteractiveMessage.NativeFlowMessage.NativeFlowButton(
name="address_message",
buttonParamsJSON='{"display_text":"Address","id":"message"}',
),
InteractiveMessage.NativeFlowMessage.NativeFlowButton(
name="send_location", buttonParamsJSON=""
),
]
),
),
)
)
),
)
from neonize.
mantep bang makasih banyak
from neonize.
Makasih banyak bang
from neonize.
Kalo buat nambahin tombol ke media message gimana bang?
from neonize.
Kalo buat nambahin tombol ke media message gimana bang?
contoh untuk image, hasil ngulik sendiri, mungkin ada cara yang lebih bagus
client.send_message(
message.Info.MessageSource.Chat,
Message(
viewOnceMessage=FutureProofMessage(
message=Message(
messageContextInfo=MessageContextInfo(
deviceListMetadata=DeviceListMetadata(),
deviceListMetadataVersion=2,
),
interactiveMessage=InteractiveMessage(
body=InteractiveMessage.Body(text="Body Message"),
footer=InteractiveMessage.Footer(text="@brutalx-04"),
header=InteractiveMessage.Header(
title="Title Message",
subtitle="Subtitle Message",
hasMediaAttachment=True,
imageMessage=client.build_image_message("src/image/bg.jpg").imageMessage
),
nativeFlowMessage=InteractiveMessage.NativeFlowMessage(
buttons=[
InteractiveMessage.NativeFlowMessage.NativeFlowButton(
name="cta_url",
buttonParamsJSON='{"display_text":"Profile","url":"https://profile.brutalx.my.id","merchant_url":"https://profile.brutalx.my.id"}',
)
]
),
),
)
)
),
)
from neonize.
Do you know how to solve the problem just using the list says that the WhatsApp version is not compatible? This is for other members
from neonize.
Do you know how to solve the problem just using the list says that the WhatsApp version is not compatible? This is for other members
from neonize.
Related Issues (20)
- PollUpdate decrypt?
- How to setup on Mac "Darwin"
- No module named 'neonize.client
- Sorry how can I stop the program ? HOT 3
- How to log in to multiple accounts
- failed to find libmagic HOT 9
- How do I get pictures sent from other users? HOT 3
- OSError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found in pythonanywhre
- Is there a function to redeem the QR Code ? HOT 2
- How to grab group name or group Id
- Can't send .png file HOT 2
- freezed until I press Ctrl-c + funding question HOT 1
- The website mentioned isn't working. I was looking to know how to send a basic message using mobile number HOT 1
- Can't send sticker with .webp extension HOT 3
- Any plans to support Device.ChatSettings? HOT 2
- ctypes.ArgumentError: argument 1: TypeError: wrong type
- Feat request: support native multiple sessions
- Send message with number HOT 2
- Sending message to group HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neonize.