package com.wecloud.im.sdk.sample;

import com.wecloud.im.sdk.WecloudIm;
import com.wecloud.im.sdk.WecloudImClientBuilder;

/**
 *
 * @Author luozh
 * @Date 2022年05月10日 14:52
 * @Version 1.0
 */
public class CreateGroupSample {

    private static final String ENDPOINT = "http://127.0.0.1:8082";

    private static final String APP_KEY = "QizKVHcILRWp6Td2";

    private static final String APP_SECRET = "287d04828099fb7de871e9dda845fa8b6b2302faf2ab3737";


    public static void main(String[] args) {
        WecloudIm im = new WecloudImClientBuilder().build(ENDPOINT, APP_KEY, APP_SECRET);

        String userId = "1513691265777217536";
        String groupName = "至暗时刻";
        String memberIds = "1518881158560100352,1519502299280605184,1519873933917179904";
//        im.createGroup(userId, groupName, memberIds);

        im.listGroupMembers("1519507173539995648");
    }
}
