diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-11-20 23:21:14 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-11-20 23:21:14 +0300 |
commit | ee63b08bd7861702123f9c5e83d60f49b1805e85 (patch) | |
tree | f053d4162e05f70f741629c800ce93fd097c28a0 /schemes/schemes.go | |
parent | 7a749a3d0c87ddb9d8109c5cbca7d7efcb3991eb (diff) |
Fix example
Diffstat (limited to 'schemes/schemes.go')
-rw-r--r-- | schemes/schemes.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/schemes/schemes.go b/schemes/schemes.go index 74643d1..06686b0 100644 --- a/schemes/schemes.go +++ b/schemes/schemes.go @@ -104,7 +104,6 @@ type ButtonInterface interface { // Send this object when your bots wants to react to when a button is pressed type CallbackAnswer struct { - UserId int64 `json:"user_id,omitempty"` Message *NewMessageBody `json:"message,omitempty"` // Fill this if you want to modify current message Notification string `json:"notification,omitempty"` // Fill this if you just want to send one-time notification to user } @@ -272,8 +271,7 @@ type Image struct { // Buttons in messages type InlineKeyboardAttachment struct { Attachment - CallbackId string `json:"callback_id"` // Unique identifier of keyboard - Payload Keyboard `json:"payload"` + Payload Keyboard `json:"payload"` } // Request to attach keyboard to message |