package api import ( "gitee.ltd/lxh/txim/api/param" "gitee.ltd/lxh/txim/common" ) // GroupCreate 建群 //https://cloud.tencent.com/document/product/269/1615 func GroupCreate(r *param.GroupCreateReq) (*param.GroupCreateRes, error) { a := param.GroupCreateRes{} err := Api(common.GroupCreate, r, &a) return &a, err } // PushOrdinaryMsgToGroup 发送普通群消息 func PushOrdinaryMsgToGroup(p *param.PushOrdinaryMsgToGroupReq) (*param.PushOrdinaryMsgToGroupRes, error) { a := param.PushOrdinaryMsgToGroupRes{} err := Api(common.PushOrdinaryMsgToGroup, p, &a) return &a, err }