Add command to create WhatsApp group

This commit is contained in:
Tulir Asokan
2020-07-10 15:23:32 +03:00
parent 7eb4cfb946
commit 518cb076ff
6 changed files with 157 additions and 18 deletions

View File

@ -51,7 +51,6 @@ func (ext *ExtendedConn) AddHandler(handler whatsapp.Handler) {
ext.handlers = append(ext.handlers, handler)
}
func (ext *ExtendedConn) RemoveHandler(handler whatsapp.Handler) bool {
ext.Conn.RemoveHandler(handler)
for i, v := range ext.handlers {
@ -127,7 +126,7 @@ type ProfilePicInfo struct {
URL string `json:"eurl"`
Tag string `json:"tag"`
Status int16 `json:"status"`
Status int `json:"status"`
}
func (ppi *ProfilePicInfo) Download() (io.ReadCloser, error) {