all repos — telegram-bot-api @ 4edcb0fa1ab5e691899ca33c58d79f517c6bf30f

Golang bindings for the Telegram Bot API

Correct formatting of code with `go fmt`
Amir Khazaie 733amir@gmail.com
Wed, 04 Jul 2018 15:19:37 +0430
commit

4edcb0fa1ab5e691899ca33c58d79f517c6bf30f

parent

31f4975464f318de5f00fb1c2fd905c259c14199

1 files changed, 17 insertions(+), 17 deletions(-)

jump to
M helpers.gohelpers.go

@@ -406,8 +406,8 @@

// NewInlineQueryResultCachedGIF create a new inline query with cached photo. func NewInlineQueryResultCachedGIF(id, gifID string) InlineQueryResultCachedGIF { return InlineQueryResultCachedGIF{ - Type: "gif", - ID: id, + Type: "gif", + ID: id, GifID: gifID, } }

@@ -424,8 +424,8 @@

// NewInlineQueryResultCachedPhoto create a new inline query with cached photo. func NewInlineQueryResultCachedMPEG4GIF(id, MPEG4GifID string) InlineQueryResultCachedMpeg4Gif { return InlineQueryResultCachedMpeg4Gif{ - Type: "mpeg4_gif", - ID: id, + Type: "mpeg4_gif", + ID: id, MGifID: MPEG4GifID, } }

@@ -452,8 +452,8 @@

// NewInlineQueryResultCachedPhoto create a new inline query with cached photo. func NewInlineQueryResultCachedPhoto(id, photoID string) InlineQueryResultCachedPhoto { return InlineQueryResultCachedPhoto{ - Type: "photo", - ID: id, + Type: "photo", + ID: id, PhotoID: photoID, } }

@@ -470,10 +470,10 @@

// NewInlineQueryResultCachedVideo create a new inline query with cached video. func NewInlineQueryResultCachedVideo(id, videoID, title string) InlineQueryResultCachedVideo { return InlineQueryResultCachedVideo{ - Type: "video", - ID: id, + Type: "video", + ID: id, VideoID: videoID, - Title: title, + Title: title, } }

@@ -490,8 +490,8 @@

// NewInlineQueryResultCachedAudio create a new inline query with cached photo. func NewInlineQueryResultCachedAudio(id, audioID string) InlineQueryResultCachedAudio { return InlineQueryResultCachedAudio{ - Type: "audio", - ID: id, + Type: "audio", + ID: id, AudioID: audioID, } }

@@ -509,10 +509,10 @@

// NewInlineQueryResultCachedVoice create a new inline query with cached photo. func NewInlineQueryResultCachedVoice(id, voiceID, title string) InlineQueryResultCachedVoice { return InlineQueryResultCachedVoice{ - Type: "voice", - ID: id, + Type: "voice", + ID: id, VoiceID: voiceID, - Title: title, + Title: title, } }

@@ -530,10 +530,10 @@

// NewInlineQueryResultCachedDocument create a new inline query with cached photo. func NewInlineQueryResultCachedDocument(id, documentID, title string) InlineQueryResultCachedDocument { return InlineQueryResultCachedDocument{ - Type: "document", - ID: id, + Type: "document", + ID: id, DocumentID: documentID, - Title: title, + Title: title, } }