mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-12-29 13:55:40 +00:00
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() {}
|