Documentation
¶
Index ¶
- func RunCommand(client *whatsmeow.Client, content string, ctx *waProto.ContextInfo, ...) (*waProto.Message, error)
- type PrinceClient
- func (client *PrinceClient) Connect()
- func (client *PrinceClient) Disconnect()
- func (client *PrinceClient) SendCommandMessage(chat types.JID, user string, msg *waProto.Message) (resp whatsmeow.SendResponse, err error)
- func (client *PrinceClient) SendMessage(chat types.JID, msg *waProto.Message) (resp whatsmeow.SendResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PrinceClient ¶
type PrinceClient struct {
// contains filtered or unexported fields
}
func CreatePrinceClient ¶
func CreatePrinceClient(prefix rune, deviceStore *store.Device) *PrinceClient
func (*PrinceClient) Connect ¶
func (client *PrinceClient) Connect()
func (*PrinceClient) Disconnect ¶
func (client *PrinceClient) Disconnect()
func (*PrinceClient) SendCommandMessage ¶
func (client *PrinceClient) SendCommandMessage(chat types.JID, user string, msg *waProto.Message) (resp whatsmeow.SendResponse, err error)
func (*PrinceClient) SendMessage ¶
func (client *PrinceClient) SendMessage(chat types.JID, msg *waProto.Message) (resp whatsmeow.SendResponse, err error)
Click to show internal directories.
Click to hide internal directories.