-
Notifications
You must be signed in to change notification settings - Fork 2
/
consts.go
39 lines (34 loc) · 1.32 KB
/
consts.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package tgo
const (
TelegramAPIEndpoint = "https://api.telegram.org"
// https://core.telegram.org/bots/api#chatmember
ChatMemberStatusCreator = "creator"
ChatMemberStatusAdministrator = "administrator"
ChatMemberStatusMember = "member"
ChatMemberStatusLeft = "left"
ChatMemberStatusKicked = "kicked"
// https://core.telegram.org/bots/api#markdown-style
ParseModeMarkdown = "Markdown"
// https://core.telegram.org/bots/api#html-style
ParseModeHTML = "HTML"
// https://core.telegram.org/bots/api#inlinequeryresult
InlineQueryResultTypeArticle = "article"
InlineQueryResultTypePhoto = "photo"
InlineQueryResultTypeGif = "gif"
InlineQueryResultTypeMpeg4Gif = "mpeg4_gif"
InlineQueryResultTypeVideo = "video"
InlineQueryResultTypeAudio = "audio"
InlineQueryResultTypeVoice = "voice"
InlineQueryResultTypeDocument = "document"
InlineQueryResultTypeLocation = "location"
InlineQueryResultTypeVenue = "venue"
InlineQueryResultTypeContact = "contact"
InlineQueryResultTypeGame = "game"
InlineQueryResultTypeSticker = "sticker"
MimeTypeTextHTML = "text/html"
MimeTypeVideoMP4 = "video/mp4"
MimeTypeApplicationPDF = "application/pdf"
MimeTypeApplicationZIP = "application/zip"
MimeTypeAudioMPEG = "audio/mpeg"
MimeTypeAudioOgg = "audio/ogg"
)