gmessages/libgm/events/qr.go
2023-06-30 12:55:49 +03:00

22 lines
388 B
Go

package events
type QRCODE_UPDATED struct {
Image []byte
Height int
Width int
googleUrl string
}
func NewQrCodeUpdated(image []byte, height int, width int, googleUrl string) *QRCODE_UPDATED {
return &QRCODE_UPDATED{
Image: image,
Height: height,
Width: width,
googleUrl: googleUrl,
}
}
func (q *QRCODE_UPDATED) GetGoogleUrl() string {
return q.googleUrl
}