package com.wecloud.im.sdk.sample;

import java.util.HashMap;

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 AddOrModifyConversationAttributesSample {

    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);

        im.addOrModifyConversationAttribute(1533648070015918080L, new HashMap<String, Object>() {
            {
                put("baned", true);
            }
        });
    }
}
