Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Telegram api #434

Closed
wants to merge 21 commits into from
Closed

feat: Telegram api #434

wants to merge 21 commits into from

Conversation

nolanjacobson
Copy link
Contributor

@nolanjacobson nolanjacobson commented Jul 19, 2024

Description

This PR fixes #312 , #357 , #358

Notes for Reviewers

Implemented all 3 tickets.

Signed commits

  • Yes, I signed my commits.

pkg/llmbridge/sentiment.go Dismissed Show dismissed Hide dismissed
@nolanjacobson nolanjacobson enabled auto-merge (squash) July 22, 2024 15:17
@nolanjacobson
Copy link
Contributor Author

Do not merge yet, need to update work model for message scraping/LLM requests.

@jdutchak jdutchak changed the title Telegram api feat: Telegram api Jul 25, 2024
client *telegram.Client
once sync.Once
appID = 28423325 // Your actual app ID
appHash = "c60c0a268973ea3f7d52e16e4ab2a0d3" // Your actual app hash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these two used in the code? why we have hardcoded values here?

}

clientCtx, cancelClient = signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
defer cancelClient()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be this causing the context to be closed prematurely maybe?

auto-merge was automatically disabled July 29, 2024 14:46

Pull request was closed

@teslashibe teslashibe deleted the telegram-api branch August 22, 2024 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Telegram Message Scraping
2 participants