Skip to content

Commit 9187e08

Browse files
committed
another tiny fix in answerInlineQuery()
1 parent 5dca594 commit 9187e08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua-bot-api.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ local function answerInlineQuery(inline_query_id, results, cache_time, is_person
613613
request_body.results = JSON:encode(results)
614614
request_body.cache_time = tonumber(cache_time)
615615
request_body.is_personal = tostring(is_personal)
616-
request_body.next_offset = next_offset
616+
request_body.next_offset = tostring(next_offset)
617617

618618
local response = makeRequest("answerInlineQuery",request_body)
619619

0 commit comments

Comments
 (0)