Last active
November 15, 2022 01:32
-
-
Save SKaplanOfficial/ba3b325417ae120dfa4d167ac141a0c9 to your computer and use it in GitHub Desktop.
Using PyXA to send an SMS to a chat based on the chat ID
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tested with PyXA 0.1.0 | |
import PyXA | |
app = PyXA.Application("Messages") | |
chat = app.chats().by_id("SMS;-;+11234567891") | |
chat.send("Hello!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment