forked from PaulSonOfLars/gotgbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgen_consts.go
executable file
·37 lines (33 loc) · 1.31 KB
/
gen_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
// THIS FILE IS AUTOGENERATED. DO NOT EDIT.
// Regen by running 'go generate' in the repo root.
package gotgbot
// The consts listed below represent all the update types that can be requested from telegram.
const (
UpdateTypeMessage = "message"
UpdateTypeEditedMessage = "edited_message"
UpdateTypeChannelPost = "channel_post"
UpdateTypeEditedChannelPost = "edited_channel_post"
UpdateTypeInlineQuery = "inline_query"
UpdateTypeChosenInlineResult = "chosen_inline_result"
UpdateTypeCallbackQuery = "callback_query"
UpdateTypeShippingQuery = "shipping_query"
UpdateTypePreCheckoutQuery = "pre_checkout_query"
UpdateTypePoll = "poll"
UpdateTypePollAnswer = "poll_answer"
UpdateTypeMyChatMember = "my_chat_member"
UpdateTypeChatMember = "chat_member"
UpdateTypeChatJoinRequest = "chat_join_request"
)
// The consts listed below represent all the parse_mode options that can be sent to telegram.
const (
ParseModeHTML = "HTML"
ParseModeMarkdownV2 = "MarkdownV2"
ParseModeMarkdown = "Markdown"
ParseModeNone = ""
)
// The consts listed below represent all the sticker types that can be obtained from telegram.
const (
StickerTypeRegular = "regular"
StickerTypeMask = "mask"
StickerTypeCustomEmoji = "custom_emoji"
)