https://github.com/monzo/verifiedsms
A go library for interacting with Google Verified SMS
https://github.com/monzo/verifiedsms
Last synced: about 1 year ago
JSON representation
A go library for interacting with Google Verified SMS
- Host: GitHub
- URL: https://github.com/monzo/verifiedsms
- Owner: monzo
- License: mit
- Created: 2022-02-03T13:24:05.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-21T08:25:50.000Z (almost 3 years ago)
- Last Synced: 2025-03-21T06:33:21.460Z (over 1 year ago)
- Language: Go
- Size: 20.5 KB
- Stars: 3
- Watchers: 98
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# verifiedsms
This is a go library for interacting with the Google [Verified SMS](https://developers.google.com/business-communications/verified-sms)
service. You'll need to already be signed up as a Verified SMS Partner to use this library.
Example:
```go
package main
import "github.com/monzo/verifiedsms"
partner := verified_sms.VerifiedSMSPartner{
ServiceAccountJSONFile: "foobar",
}
agent := verified_sms.VerifiedSMSAgent{
ID: "barbaz",
PrivateKey: ...,
}
wasMessageVerified, err := partner.MarkSMSAsVerified(context.Background(), "+447700900461", agent, "hello!")
```