gmessages/libgm/events/qr.go

23 lines
388 B
Go
Raw Normal View History

2023-06-30 09:54:08 +00:00
package events
type QRCODE_UPDATED struct {
2023-06-30 09:55:49 +00:00
Image []byte
2023-06-30 09:54:08 +00:00
Height int
2023-06-30 09:55:49 +00:00
Width int
2023-06-30 09:54:08 +00:00
googleUrl string
}
func NewQrCodeUpdated(image []byte, height int, width int, googleUrl string) *QRCODE_UPDATED {
return &QRCODE_UPDATED{
2023-06-30 09:55:49 +00:00
Image: image,
Height: height,
Width: width,
2023-06-30 09:54:08 +00:00
googleUrl: googleUrl,
}
}
func (q *QRCODE_UPDATED) GetGoogleUrl() string {
return q.googleUrl
2023-06-30 09:55:49 +00:00
}