Documentation
¶
Index ¶
- Variables
- type Session
- type WsSession
- func (w *WsSession) DeleteMessage(uid string) string
- func (w *WsSession) Ping() string
- func (w *WsSession) Send(e tdproto.Event) string
- func (w *WsSession) SendPlainMessage(to tdproto.JID, text string) string
- func (w *WsSession) WaitFor(name string, v interface{}) error
- func (w *WsSession) WaitForConfirm() (string, error)
- func (w *WsSession) WaitForMessage() (tdproto.Message, bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Timeout = errors.New("Timeout")
Functions ¶
This section is empty.
Types ¶
type WsSession ¶ added in v0.1.4
type WsSession struct {
*Session
// contains filtered or unexported fields
}
func (*WsSession) DeleteMessage ¶ added in v0.1.4
func (*WsSession) SendPlainMessage ¶ added in v0.1.4
func (*WsSession) WaitForConfirm ¶ added in v0.1.4
Click to show internal directories.
Click to hide internal directories.