Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
onrik committed Apr 20, 2016
1 parent b8ad845 commit e5037a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type SendMessageOptions struct {
DisableNotification bool `json:"disable_notification,omitempty"`
ReplyToMessageId int64 `json:"reply_to_message_id,omitempty"`
ParseMode ParseMode `json:"parse_mode,omitempty"`
DisableWebPagePreview bool `json:"disable_web_page_preview",omitempty`
DisableWebPagePreview bool `json:"disable_web_page_preview,omitempty"`
ReplyMarkup ReplyMarkup `json:"reply_markup,omitempty"`
}

Expand Down Expand Up @@ -43,7 +43,7 @@ func NewSendPhotoParams(chatId int64, photo string, options *SendPhotoOptions) *

type EditMessageTextOptions struct {
ParseMode ParseMode `json:"parse_mode,omitempty"`
DisableWebPagePreview bool `json:"disable_web_page_preview",omitempty`
DisableWebPagePreview bool `json:"disable_web_page_preview,omitempty"`
ReplyMarkup ReplyMarkup `json:"reply_markup,omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion types.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ type Message struct {
Caption string `json:"caption"`
Contact *Contact `json:"contact"`
Location *Location `json:"location"`
Venue *Venue `json:"venue`
Venue *Venue `json:"venue"`
NewChatMember *User `json:"new_chat_member"`
LeftChatMember *User `json:"left_chat_member"`
NewChatTitle string `json:"new_chat_title"`
Expand Down

0 comments on commit e5037a5

Please sign in to comment.