Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callback ¶
func (Callback) SendAnswer ¶
func (callback Callback) SendAnswer(answer CallbackAnswer)
type CallbackAnswer ¶
type CallbackAnswer struct {
Text string
}
type ConversationChat ¶
type ConversationChat uint
func (ConversationChat) GetId ¶
func (chat ConversationChat) GetId() uint
func (ConversationChat) SendMessage ¶
func (chat ConversationChat) SendMessage(message Message)
func (ConversationChat) UploadImage ¶ added in v1.1.0
func (chat ConversationChat) UploadImage(file files.File) attachments.Image
type Message ¶
type Message struct { Text string Template templates.Template Keyboard keyboards.Keyboard Attachments []attachments.Attachment }
type OutgoingMessage ¶
type OutgoingMessage struct { Text string User users.User Payload keyboards.Payload Attachments []attachments.Attachment Client Client }
Click to show internal directories.
Click to hide internal directories.