Documentation ¶
Index ¶
- Constants
- Variables
- func EscapeString(text *string)
- func JoinNotEmptyStrings(elems []string, sep string) string
- type InputMedia
- type KeyBoardButton
- type NewPostResponse
- type RemindPostResponse
- type Request
- type Settings
- func (tg *Settings) Post(game *epicgames.Game, silent bool)
- func (tg *Settings) PostNext(ga *epicgames.Giveaway) int
- func (tg *Settings) Remind(giveaway []epicgames.Game) int
- func (tg *Settings) RemoveNextPost(messageId string) error
- func (tg *Settings) RemoveRemind(messageId string) error
- func (tg *Settings) Send(req *Request) (*http.Response, error)
- func (tg *Settings) UpdateNext(messageId string, ga *epicgames.Giveaway)
Constants ¶
View Source
const ( MethodGet = iota MethodPost )
View Source
const ApiUrl = "https://api.telegram.org/"
Variables ¶
View Source
var Reserved = map[string]string{
"<": "<",
">": ">",
"&": "&",
}
Functions ¶
func EscapeString ¶
func EscapeString(text *string)
func JoinNotEmptyStrings ¶
Types ¶
type InputMedia ¶
type KeyBoardButton ¶
type NewPostResponse ¶
type RemindPostResponse ¶
Click to show internal directories.
Click to hide internal directories.