Skip to content

Commit d4afb3e

Browse files
join otro-arreglar
'Hola 👋, esta es una prueba desde el bot con Python y Twilio 😎',
1 parent da6aa6b commit d4afb3e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

join otro-arreglar

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from twilio.rest import Client
2+
3+
account_sid = 'ACa47edbd4ceeac7540c53ea922ac6dcf2'
4+
auth_token = 'TU_AUTH_TOKEN_REAL'
5+
client = Client(account_sid, auth_token)
6+
7+
message = client.messages.create(
8+
from_='whatsapp:+14155238886',
9+
body='Hola 👋, esta es una prueba desde el bot con Python y Twilio 😎',
10+
to='whatsapp:+5213322631883'
11+
)
12+
13+
print(message.sid)

0 commit comments

Comments
 (0)