Skip to content

Commit

Permalink
fix: nilable input_message_content for inline voice results
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfaust committed Jun 28, 2017
1 parent 64f77b5 commit fab503d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module TelegramBot
voice_file_id: String,
title: String,
reply_markup: {type: InlineKeyboardMarkup, nilable: true},
input_message_content: InputMessageContent,
input_message_content: {type: InputMessageContent, nilable: true},
}

JSON.mapping({{FIELDS}})
Expand Down
2 changes: 1 addition & 1 deletion src/telegram_bot/types/inline/inline_query_result_voice.cr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module TelegramBot
title: String,
voice_duration: {type: Int32, nilable: true},
reply_markup: {type: InlineKeyboardMarkup, nilable: true},
input_message_content: InputMessageContent,
input_message_content: {type: InputMessageContent, nilable: true},
}

JSON.mapping({{FIELDS}})
Expand Down

0 comments on commit fab503d

Please sign in to comment.