https://github.com/vadviktor/telegram-msg
Very basic Telegram BOT message sender.
https://github.com/vadviktor/telegram-msg
go golang library telegram-bot-api
Last synced: 6 months ago
JSON representation
Very basic Telegram BOT message sender.
- Host: GitHub
- URL: https://github.com/vadviktor/telegram-msg
- Owner: vadviktor
- License: mit
- Archived: true
- Created: 2018-01-30T21:32:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-10T09:24:03.000Z (about 8 years ago)
- Last Synced: 2024-07-28T11:50:25.305Z (almost 2 years ago)
- Topics: go, golang, library, telegram-bot-api
- Language: Go
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telegram-msg
Telegram BOT message sending library for Go (pretty basic).
```go
package main
import "github.com/vadviktor/telegram-msg"
func main() {
s := &telegram_msg.Telegram{}
s.Create("someBotApiToken", 12345)
s.Send("I can send plain fmt.Println.")
s.Send("I can act like %s too.", "fmt.Sprintf")
s.SendSilent("I can send silent messages the won't have notifications.")
}
```