Skip to content

Stange catching json unmarsul error #1

@kbats183

Description

@kbats183

_, err = b.tgBotApi.Send(tgbotapi.InlineConfig{
InlineQueryID: inlineQuery.ID,
Results: queryResults,
CacheTime: 1})
_, isUnmarshalTypeError := err.(*json.UnmarshalTypeError)
if err != nil && !isUnmarshalTypeError {

This is caused by go-telegram-bot-api/telegram-bot-api#517

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions