l3r8yJ / elegram-api

It's a wrapper over the telegram bots api, but in the style of EO.
https://www.elegram-api.ru
MIT License
14 stars 2 forks source link

60 #67

Closed l3r8yJ closed 1 year ago

l3r8yJ commented 1 year ago

experimental impl

l3r8yJ commented 1 year ago

@h1alexbel take a look, please Here a test impl with "handling" for updates, what you think about it?

Also i'm want to use gson library instead of json to make mappings into classes such as User and etc. more easily

codecov-commenter commented 1 year ago

Codecov Report

Base: 82.85% // Head: 41.42% // Decreases project coverage by -41.42% :warning:

Coverage data is based on head (b701b54) compared to base (109da69). Patch coverage: 2.43% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #67 +/- ## ============================================= - Coverage 82.85% 41.42% -41.43% Complexity 12 12 ============================================= Files 8 10 +2 Lines 35 70 +35 Branches 0 2 +2 ============================================= Hits 29 29 - Misses 6 41 +35 ``` | [Impacted Files](https://codecov.io/gh/l3r8yJ/elegram-api/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ivan+Ivanchuk) | Coverage Δ | | |---|---|---| | [...ain/java/com/l3r8yj/elegramapi/bot/DefaultBot.java](https://codecov.io/gh/l3r8yJ/elegram-api/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ivan+Ivanchuk#diff-c3JjL21haW4vamF2YS9jb20vbDNyOHlqL2VsZWdyYW1hcGkvYm90L0RlZmF1bHRCb3QuamF2YQ==) | `15.15% <0.00%> (-84.85%)` | :arrow_down: | | [...in/java/com/l3r8yj/elegramapi/message/Message.java](https://codecov.io/gh/l3r8yJ/elegram-api/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ivan+Ivanchuk#diff-c3JjL21haW4vamF2YS9jb20vbDNyOHlqL2VsZWdyYW1hcGkvbWVzc2FnZS9NZXNzYWdlLmphdmE=) | `0.00% <0.00%> (ø)` | | | [...3r8yj/elegramapi/request/RqWithOffsetTelegram.java](https://codecov.io/gh/l3r8yJ/elegram-api/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ivan+Ivanchuk#diff-c3JjL21haW4vamF2YS9jb20vbDNyOHlqL2VsZWdyYW1hcGkvcmVxdWVzdC9ScVdpdGhPZmZzZXRUZWxlZ3JhbS5qYXZh) | `0.00% <0.00%> (ø)` | | | [...va/com/l3r8yj/elegramapi/update/DefaultUpdate.java](https://codecov.io/gh/l3r8yJ/elegram-api/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ivan+Ivanchuk#diff-c3JjL21haW4vamF2YS9jb20vbDNyOHlqL2VsZWdyYW1hcGkvdXBkYXRlL0RlZmF1bHRVcGRhdGUuamF2YQ==) | `0.00% <0.00%> (ø)` | | | [.../com/l3r8yj/elegramapi/command/DefaultCommand.java](https://codecov.io/gh/l3r8yJ/elegram-api/pull/67?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ivan+Ivanchuk#diff-c3JjL21haW4vamF2YS9jb20vbDNyOHlqL2VsZWdyYW1hcGkvY29tbWFuZC9EZWZhdWx0Q29tbWFuZC5qYXZh) | `50.00% <50.00%> (-50.00%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ivan+Ivanchuk). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ivan+Ivanchuk)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

l3r8yJ commented 1 year ago

as test variant with some issues

l3r8yJ commented 1 year ago

@rultor merge

rultor commented 1 year ago

@rultor merge

@l3r8yj OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 1 year ago

@rultor merge

@l3r8yj Done! FYI, the full log is here (took me 1min)