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(service): proxy setting #684

Open
UsherFall opened this issue Aug 31, 2023 · 0 comments
Open

feat(service): proxy setting #684

UsherFall opened this issue Aug 31, 2023 · 0 comments

Comments

@UsherFall
Copy link

Services like discord, telegram are not available directly in my country, so proxy setup is required for me.

In telegram, I can use SetClient to set proxy, but how can I set proxy for discord or other service

client, err := api.NewBotAPIWithClient(apiToken, proxy.ProxyHttpClient)
if err != nil {
	return nil, err
}
t := &telegram.Telegram{}
t.SetClient(client)
@UsherFall UsherFall changed the title [proxy setting] feat(service): proxy setting Sep 3, 2023
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

No branches or pull requests

1 participant