import messenger "github.com/imbaggaarm/go-messenger"
apiVersion := messenger.DefaultApiVersion // or the version that you want
bot = messenger.NewBot(accessToken, apiVersion)
textMessage := "Hello! Can you hear me?"
bot.sendTextMessage(recipientId, textMessage)
Usage
fb-stranger-bot is a template project for chat-with-stranger chatbot.
VNUChatbot is a chat-with-stranger chatbot for university students.
Other
Future of go-messenger
There are a lot of missing functions in this package,
I'm planning to make this better and better in the future. Here are some things will be implemented soon:
Attachment with file messages
Contact
Follow and contact me on Twitter. If you find an issue, just open a ticket.
Pull requests are warmly welcome as well.
FAQs
Unknown package
Package last updated on 13 Mar 2020
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.