INNER CODE UNIT · Go

pairClientTypeFromInt

krypton-byte/neonize · goneonize/main.go:98

func pairClientTypeFromInt(clientType int32) whatsmeow.PairClientType {
	switch clientType {
	case 0:
		return whatsmeow.PairClientUnknown
	case 1:
		return whatsmeow.PairClientChrome
	case 2:
		return whatsmeow.PairClientEdge
	case 3:
		return whatsmeow.PairClientFirefox
	case 4:
		return whatsmeow.PairClientIE
	case 5:
		return whatsmeow.PairClientOpera
	case 6:
		return whatsmeow.PairClientSafari
	case 7:
		return whatsmeow.PairClientElectron

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…