互动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
488 B

5 years ago
5 years ago
  1. package im
  2. import (
  3. "fmt"
  4. "testing"
  5. )
  6. func TestAccountImport(t *testing.T) {
  7. sig, err := AccountImport("test1", "tommy", "http://a.cphotos.bdimg.com/timg?image&quality=100&size=b4000_4000&sec=1585813714&di=c76777c95455780deffa04d28b25cb70&src=http://b-ssl.duitang.com/uploads/item/201412/28/20141228171331_L5T2n.jpeg")
  8. fmt.Println(sig, err)
  9. }
  10. func TestSendGroupSystemNotification(t *testing.T) {
  11. err := SendGroupSystemNotification("@TGS#aZWTFELGU", 256, nil)
  12. fmt.Println(err)
  13. }