Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abhinavdahiya/go-messenger-bot
/ types & classes
Types & classes
37 in github.com/abhinavdahiya/go-messenger-bot
⨍
Functions
36
◇
Types & classes
37
Struct
APIResponse
send.go:176
TypeAlias
Action
send.go:32
Struct
Attachment
send.go:50
Interface
AttachmentPayload
send.go:55
Struct
BotAPI
This defines a bot Set Debug to true for debugging
messenger.go:21
Struct
Button
send.go:113
Struct
ButtonTemplate
Used as payload for type template(button)
send.go:121
Struct
Callback
This represents the content of the message sent by the user Various kinds of callbacks from user are - OptinCallback MessageCallback PostbackCallback
receive.go:27
Struct
Element
send.go:101
Struct
Entry
This defines an Entry in the payload by webhook
receive.go:12
Struct
ErrorResponse
send.go:182
Struct
FilePayload
Used as payload for type image/audio/video/file
send.go:58
Struct
GStarted
threadsettings.go:28
Struct
GenericTemplate
Used as payload for type template(generic)
send.go:67
Struct
Greeting
threadsettings.go:24
Struct
InputAttachPayload
receive.go:92
Struct
InputAttachment
Represents an attachement The types are image/audio/video/location
receive.go:87
Struct
InputCoords
receive.go:97
Struct
InputDelivery
This contains delivery reports for batch of messages(mids)
receive.go:104
Struct
InputMessage
This represents a Message from user If text message only Text field exists If media message Attachments fields contains an array of attachmensts sent
receive.go:72
Struct
InputOptin
Ref contains the `data-ref` set for message optin for the bot
receive.go:65
Struct
InputPostback
Represents a postback sent by clicking on Postback Button
receive.go:111
Struct
InputQRPayload
Represents a quick reply payload
receive.go:81
Struct
ListTemplate
send.go:96
Struct
Message
send.go:34
Struct
OrderAddress
send.go:155
Struct
OrderAdjustment
send.go:171
Struct
OrderItem
send.go:146
Struct
OrderSummary
send.go:164
Struct
Page
receive.go:60
Struct
QR
send.go:44
Struct
ReceiptTemplate
Used as payload for type template(receipt)
send.go:132
Struct
Request
send.go:25
Struct
Response
Payload received by the webhook The Object field is always set to `page` Contains bacthed entries
receive.go:6
Struct
TemplateBase
send.go:62
Struct
ThreadSetting
threadsettings.go:17
Struct
User
This defines an user One of the fields will be set to identify the user
receive.go:55