This will give you a webhook URL to use in your python script. Go to the room to which you wish to send a message at, and from the dropdown menu next to the room's name, select Manage Webhooks.Įnter a name and an optional avatar for your bot, and press SAVE. The full steps are set out on this page but I'll go through it here also. Instead of directly using the API, you can instead set up a webhook for a specific chat and with a hardcoded URL, you can send messages to a room from an external script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |