Mercurial > lbo > hg > goe_bot
changeset 20:851d4eaa877e
Add callbackQuery type
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Fri, 09 Dec 2016 22:35:19 +0100 |
parents | a9d6fa80e7dc |
children | 08faa7039be7 |
files | api_schema.go |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/api_schema.go Fri Dec 09 22:26:38 2016 +0100 +++ b/api_schema.go Fri Dec 09 22:35:19 2016 +0100 @@ -35,6 +35,15 @@ Offset string } +type callbackQuery struct { + ID string + From string + // Message that this callback originated from + Message message + // Callback data + Data string +} + type updateReply struct { OK bool Result []update @@ -47,6 +56,7 @@ Channel_Post message Edited_Channel_Post message Inline_Query inlineQuery + Callback_Query callbackQuery } type webhookInfoReply struct {