Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Abalasky tests for events handler #5

Closed

Conversation

abalasky
Copy link

@abalasky abalasky commented Mar 4, 2022

For #1

"""
First pull request ever so not sure what convention is or what is generally required. Open to feedback. Will detail code changes here...
"""

Wasn't able to test but I add ImageEvent to domain/domain.go that contains ImageBytes[].

These are obtained from whatsapp.ImageMessage.download() which is called in newly added HandleImageMessage() in events_provider.go

This is then passed to the telegram api and uploaded in similiar manner to QR code.

Hope this works!

@abalasky abalasky closed this Mar 4, 2022
@abalasky
Copy link
Author

abalasky commented Mar 4, 2022

This had a bug so I'll open a different pull request

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant