feat: add sendDice configs

Add sendDice config to use in Send method
as a Chattable interface.
Add NewDice and NewDiceWithEmoji helpers
Add tests

https://core.telegram.org/bots/api#senddice
This commit is contained in:
mehanizm 2020-03-31 09:02:18 +03:00
parent 2476225ecc
commit f11e1caecf
6 changed files with 103 additions and 5 deletions

View file

@ -352,6 +352,7 @@ type Sticker struct {
IsAnimated bool `json:"is_animated"` // optional
}
// StickerSet contains information about an sticker set.
type StickerSet struct {
Name string `json:"name"`
Title string `json:"title"`