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

Make API connection info configurable #70

Open
maxbartunik opened this issue Oct 17, 2021 · 2 comments
Open

Make API connection info configurable #70

maxbartunik opened this issue Oct 17, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@maxbartunik
Copy link

maxbartunik commented Oct 17, 2021

The information passed to Telegram regarding system version etc. on connection is user-facing in most Telegram clients. It is therefore highly desireable to be able to pass the actual device model, app version, language etc. during connection.

var request = new InitConnection<GetConfig, Config>(
apiId: session.Get().ApiId,
appVersion: "1.0.0",
deviceModel: "PC",
langCode: "en",
query: config,
systemVersion: "Win 10.0",
systemLangCode: "en",
langPack: "tdesktop",
proxy: null,
@params: null
);

Currently fixed presets are used.

@ilyalatt
Copy link
Owner

ilyalatt commented Oct 21, 2021

Hello. It was planned. There is a roadmap issue #57. There is f/next branch with desired interface. But the problem is that I abandoned the project refactoring for now. It's pretty messy in f/next. Things should be much better after the refactoring is done. I do not expect to work on the project for a few months for sure. I would be happy if you're interested in contributing.

@maxbartunik
Copy link
Author

OK, I will wait then for now ;)

@ilyalatt ilyalatt added the enhancement New feature or request label Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants