const.go 473 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
package tencentyun

var IM_INVALID_USER = "@TLS#NOT_FOUND"

type OnlineStatusType = uint

const (
	// 在线状态
	IM_STATUS_OFF_LINE     OnlineStatusType = 0
	IM_STATUS_PUSH_ON_LINE OnlineStatusType = 1
	IM_STATUS_ON_LINE      OnlineStatusType = 2
)

// TIM相关常量
const (

	TAG_PROFILE_IM_LEVEL = "Tag_Profile_IM_Level"
	TAG_PROFILE_IM_NICK  = "Tag_Profile_IM_Nick"
	TAG_PROFILE_IM_IMAGE = "Tag_Profile_IM_Image"
	TAG_PROFILE_IM_HILO  = "Tag_Profile_Custom_Hilo"
)