forked from jshiffer/matterbridge
2f33fe86f5
* Update dependencies and build to go1.22 * Fix api changes wrt to dependencies * Update golangci config
30 lines
1.2 KiB
Go
30 lines
1.2 KiB
Go
package armadillo
|
|
|
|
import (
|
|
"go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication"
|
|
"go.mau.fi/whatsmeow/binary/armadillo/waCommon"
|
|
"go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication"
|
|
"go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice"
|
|
)
|
|
|
|
type MessageApplicationSub interface {
|
|
IsMessageApplicationSub()
|
|
}
|
|
|
|
type Unsupported_BusinessApplication waCommon.SubProtocol
|
|
type Unsupported_PaymentApplication waCommon.SubProtocol
|
|
type Unsupported_Voip waCommon.SubProtocol
|
|
|
|
var (
|
|
_ MessageApplicationSub = (*waConsumerApplication.ConsumerApplication)(nil) // 2
|
|
_ MessageApplicationSub = (*Unsupported_BusinessApplication)(nil) // 3
|
|
_ MessageApplicationSub = (*Unsupported_PaymentApplication)(nil) // 4
|
|
_ MessageApplicationSub = (*waMultiDevice.MultiDevice)(nil) // 5
|
|
_ MessageApplicationSub = (*Unsupported_Voip)(nil) // 6
|
|
_ MessageApplicationSub = (*waArmadilloApplication.Armadillo)(nil) // 7
|
|
)
|
|
|
|
func (*Unsupported_BusinessApplication) IsMessageApplicationSub() {}
|
|
func (*Unsupported_PaymentApplication) IsMessageApplicationSub() {}
|
|
func (*Unsupported_Voip) IsMessageApplicationSub() {}
|