Documentation ¶
Index ¶
- type Audio
- type Chat
- type CommandHandler
- type Document
- type File
- type GetArgs
- type Handlers
- type Message
- type New
- func (i *New) GetFile(fileId string) io.ReadCloser
- func (i *New) GetUpdates(offset int) []Update
- func (i *New) HandleAudio(message Message)
- func (i *New) HandleDocument(message Message)
- func (i *New) HandleMessage(message Message)
- func (i *New) HandleSticker(message Message)
- func (i *New) HandleVideo(message Message)
- func (i *New) HandleVideoNote(message Message)
- func (i *New) HandleVoice(message Message)
- func (i *New) Info() string
- func (i *New) OnAnyMessage(handler func(message Message))
- func (i *New) OnAudio(handler func(message Message))
- func (i *New) OnCommand(command string, handler func(message Message))
- func (i *New) OnDocument(handler func(message Message))
- func (i *New) OnMessage(handler func(message Message))
- func (i *New) OnSticker(handler func(message Message))
- func (i *New) OnVideo(handler func(message Message))
- func (i *New) OnVideoNote(handler func(message Message))
- func (i *New) OnVoice(handler func(message Message))
- func (i *New) Poll()
- func (i *New) Send(chatId int, text string)
- type Param
- type Photosize
- type PostArgs
- type Sticker
- type Update
- type UpdateResult
- type User
- type Video
- type VideoNote
- type Voice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandler ¶
type Message ¶
type Message struct { Id int `json:"message_id"` ThreadId int `json:"message_thread_id"` From User ForwardFrom User ForwardFromChat User ForwardedMessageId int `json:"forward_from_message_id"` ForwardDate int SenderChat Chat Chat Chat Date int Text string ReplyToMessage *Message ViaBot User EditDate int Sticker Sticker Audio Audio Document Document Video Video VideoNote VideoNote Voice Voice }
type New ¶
func (*New) GetUpdates ¶
func (*New) HandleAudio ¶
func (*New) HandleDocument ¶
func (*New) HandleMessage ¶
func (*New) HandleSticker ¶
func (*New) HandleVideo ¶
func (*New) HandleVideoNote ¶
func (*New) HandleVoice ¶
func (*New) OnAnyMessage ¶
func (*New) OnDocument ¶
func (*New) OnVideoNote ¶
type UpdateResult ¶
Click to show internal directories.
Click to hide internal directories.