all repos — telegram-bot-api @ a92f88ce2c3af6abe29ca435858ccaa87461f73d

Golang bindings for the Telegram Bot API

Add some missing comments.
Syfaro syfaro@foxpaw.in
Tue, 12 Apr 2016 08:59:47 -0500
commit

a92f88ce2c3af6abe29ca435858ccaa87461f73d

parent

db12d94016b56099390f72edace5a1b38bbb339d

2 files changed, 10 insertions(+), 0 deletions(-)

jump to
M configs.goconfigs.go

@@ -560,6 +560,8 @@ Text string `json:"text"`

ShowAlert bool `json:"show_alert"` } +// ChatMemberConfig contains information about a user in a chat for use +// with administrative functions such as kicking or unbanning a user. type ChatMemberConfig struct { ChatID int64 SuperGroupUsername string
M types.gotypes.go

@@ -425,17 +425,23 @@ From User `json:"from"`

Query string `json:"query"` } +// InputTextMessageContent contains text for displaying +// as an inline query result. type InputTextMessageContent struct { Text string `json:"message_text"` ParseMode string `json:"parse_mode"` DisableWebPagePreview bool `json:"disable_web_page_preview"` } +// InputLocationMessageContent contains a location for displaying +// as an inline query result. type InputLocationMessageContent struct { Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` } +// InputVenueMessageContent contains a venue for displaying +// as an inline query result. type InputVenueMessageContent struct { Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"`

@@ -444,6 +450,8 @@ Address string `json:"address"`

FoursquareID string `json:"foursquare_id"` } +// InputContactMessageContent contains a contact for displaying +// as an inline query result. type InputContactMessageContent struct { PhoneNumber string `json:"phone_number"` FirstName string `json:"first_name"`