Current section
31 Versions
Jump to
Current section
31 Versions
Compare versions
28
files changed
+1823
additions
-1053
deletions
| @@ -1,5 +1,5 @@ | |
| 1 1 | name = "telega" |
| 2 | - version = "0.12.0" |
| 2 | + version = "0.12.1" |
| 3 3 | description = "Gleam Telegram Bot Library" |
| 4 4 | licences = ["Apache-2.0"] |
| 5 5 | repository = { type = "github", user = "bondiano", repo = "telega-gleam" } |
| @@ -28,7 +28,7 @@ gleam_json = ">= 3.0.2 and < 4.0.0" | |
| 28 28 | gleam_regexp = ">= 1.1.1 and < 2.0.0" |
| 29 29 | gleam_time = ">= 1.2.0 and < 2.0.0" |
| 30 30 | logging = ">= 1.3.0 and < 2.0.0" |
| 31 | - wisp = ">= 1.7.0 and < 2.0.0" |
| 31 | + wisp = ">= 2.0.0 and < 3.0.0" |
| 32 32 | simplifile = ">= 2.3.0 and < 3.0.0" |
| 33 33 | |
| 34 34 | [dev-dependencies] |
| @@ -1,6 +1,6 @@ | |
| 1 1 | {<<"name">>, <<"telega">>}. |
| 2 2 | {<<"app">>, <<"telega">>}. |
| 3 | - {<<"version">>, <<"0.12.0">>}. |
| 3 | + {<<"version">>, <<"0.12.1">>}. |
| 4 4 | {<<"description">>, <<"Gleam Telegram Bot Library"/utf8>>}. |
| 5 5 | {<<"licenses">>, [<<"Apache-2.0">>]}. |
| 6 6 | {<<"build_tools">>, [<<"gleam">>]}. |
| @@ -10,51 +10,6 @@ | |
| 10 10 | {<<"Repository">>, <<"https://github.com/bondiano/telega-gleam">>} |
| 11 11 | ]}. |
| 12 12 | {<<"requirements">>, [ |
| 13 | - {<<"gleam_otp">>, [ |
| 14 | - {<<"app">>, <<"gleam_otp">>}, |
| 15 | - {<<"optional">>, false}, |
| 16 | - {<<"requirement">>, <<">= 1.0.0 and < 2.0.0">>} |
| 17 | - ]}, |
| 18 | - {<<"simplifile">>, [ |
| 19 | - {<<"app">>, <<"simplifile">>}, |
| 20 | - {<<"optional">>, false}, |
| 21 | - {<<"requirement">>, <<">= 2.3.0 and < 3.0.0">>} |
| 22 | - ]}, |
| 23 | - {<<"wisp">>, [ |
| 24 | - {<<"app">>, <<"wisp">>}, |
| 25 | - {<<"optional">>, false}, |
| 26 | - {<<"requirement">>, <<">= 1.7.0 and < 2.0.0">>} |
| 27 | - ]}, |
| 28 | - {<<"gleam_httpc">>, [ |
| 29 | - {<<"app">>, <<"gleam_httpc">>}, |
| 30 | - {<<"optional">>, false}, |
| 31 | - {<<"requirement">>, <<">= 5.0.0 and < 6.0.0">>} |
| 32 | - ]}, |
| 33 | - {<<"gleam_stdlib">>, [ |
| 34 | - {<<"app">>, <<"gleam_stdlib">>}, |
| 35 | - {<<"optional">>, false}, |
| 36 | - {<<"requirement">>, <<">= 0.60.0 and < 1.0.0">>} |
| 37 | - ]}, |
| 38 | - {<<"gleam_erlang">>, [ |
| 39 | - {<<"app">>, <<"gleam_erlang">>}, |
| 40 | - {<<"optional">>, false}, |
| 41 | - {<<"requirement">>, <<">= 1.2.0 and < 2.0.0">>} |
| 42 | - ]}, |
| 43 | - {<<"gleam_http">>, [ |
| 44 | - {<<"app">>, <<"gleam_http">>}, |
| 45 | - {<<"optional">>, false}, |
| 46 | - {<<"requirement">>, <<">= 4.0.0 and < 5.0.0">>} |
| 47 | - ]}, |
| 48 | - {<<"gleam_regexp">>, [ |
| 49 | - {<<"app">>, <<"gleam_regexp">>}, |
| 50 | - {<<"optional">>, false}, |
| 51 | - {<<"requirement">>, <<">= 1.1.1 and < 2.0.0">>} |
| 52 | - ]}, |
| 53 | - {<<"gleam_time">>, [ |
| 54 | - {<<"app">>, <<"gleam_time">>}, |
| 55 | - {<<"optional">>, false}, |
| 56 | - {<<"requirement">>, <<">= 1.2.0 and < 2.0.0">>} |
| 57 | - ]}, |
| 58 13 | {<<"logging">>, [ |
| 59 14 | {<<"app">>, <<"logging">>}, |
| 60 15 | {<<"optional">>, false}, |
| @@ -64,6 +19,51 @@ | |
| 64 19 | {<<"app">>, <<"gleam_json">>}, |
| 65 20 | {<<"optional">>, false}, |
| 66 21 | {<<"requirement">>, <<">= 3.0.2 and < 4.0.0">>} |
| 22 | + ]}, |
| 23 | + {<<"gleam_otp">>, [ |
| 24 | + {<<"app">>, <<"gleam_otp">>}, |
| 25 | + {<<"optional">>, false}, |
| 26 | + {<<"requirement">>, <<">= 1.0.0 and < 2.0.0">>} |
| 27 | + ]}, |
| 28 | + {<<"wisp">>, [ |
| 29 | + {<<"app">>, <<"wisp">>}, |
| 30 | + {<<"optional">>, false}, |
| 31 | + {<<"requirement">>, <<">= 2.0.0 and < 3.0.0">>} |
| 32 | + ]}, |
| 33 | + {<<"gleam_http">>, [ |
| 34 | + {<<"app">>, <<"gleam_http">>}, |
| 35 | + {<<"optional">>, false}, |
| 36 | + {<<"requirement">>, <<">= 4.0.0 and < 5.0.0">>} |
| 37 | + ]}, |
| 38 | + {<<"gleam_time">>, [ |
| 39 | + {<<"app">>, <<"gleam_time">>}, |
| 40 | + {<<"optional">>, false}, |
| 41 | + {<<"requirement">>, <<">= 1.2.0 and < 2.0.0">>} |
| 42 | + ]}, |
| 43 | + {<<"gleam_erlang">>, [ |
| 44 | + {<<"app">>, <<"gleam_erlang">>}, |
| 45 | + {<<"optional">>, false}, |
| 46 | + {<<"requirement">>, <<">= 1.2.0 and < 2.0.0">>} |
| 47 | + ]}, |
| 48 | + {<<"gleam_httpc">>, [ |
| 49 | + {<<"app">>, <<"gleam_httpc">>}, |
| 50 | + {<<"optional">>, false}, |
| 51 | + {<<"requirement">>, <<">= 5.0.0 and < 6.0.0">>} |
| 52 | + ]}, |
| 53 | + {<<"simplifile">>, [ |
| 54 | + {<<"app">>, <<"simplifile">>}, |
| 55 | + {<<"optional">>, false}, |
| 56 | + {<<"requirement">>, <<">= 2.3.0 and < 3.0.0">>} |
| 57 | + ]}, |
| 58 | + {<<"gleam_stdlib">>, [ |
| 59 | + {<<"app">>, <<"gleam_stdlib">>}, |
| 60 | + {<<"optional">>, false}, |
| 61 | + {<<"requirement">>, <<">= 0.60.0 and < 1.0.0">>} |
| 62 | + ]}, |
| 63 | + {<<"gleam_regexp">>, [ |
| 64 | + {<<"app">>, <<"gleam_regexp">>}, |
| 65 | + {<<"optional">>, false}, |
| 66 | + {<<"requirement">>, <<">= 1.1.1 and < 2.0.0">>} |
| 67 67 | ]} |
| 68 68 | ]}. |
| 69 69 | {<<"files">>, [ |
| @@ -558,15 +558,24 @@ | |
| 558 558 | <<"include/telega@polling_StartPolling.hrl">>, |
| 559 559 | <<"include/telega@router_And.hrl">>, |
| 560 560 | <<"include/telega@router_AudioRoute.hrl">>, |
| 561 | + <<"include/telega@router_ChatJoinRequestRoute.hrl">>, |
| 562 | + <<"include/telega@router_ChatMemberUpdatedRoute.hrl">>, |
| 563 | + <<"include/telega@router_ChosenInlineResultRoute.hrl">>, |
| 561 564 | <<"include/telega@router_ComposedRouter.hrl">>, |
| 562 565 | <<"include/telega@router_CustomRoute.hrl">>, |
| 563 566 | <<"include/telega@router_Filter.hrl">>, |
| 564 567 | <<"include/telega@router_FilteredRoute.hrl">>, |
| 568 | + <<"include/telega@router_InlineQueryRoute.hrl">>, |
| 565 569 | <<"include/telega@router_MediaGroupRoute.hrl">>, |
| 570 | + <<"include/telega@router_MessageReactionRoute.hrl">>, |
| 566 571 | <<"include/telega@router_Not.hrl">>, |
| 567 572 | <<"include/telega@router_Or.hrl">>, |
| 568 573 | <<"include/telega@router_PhotoRoute.hrl">>, |
| 574 | + <<"include/telega@router_PollAnswerRoute.hrl">>, |
| 575 | + <<"include/telega@router_PollRoute.hrl">>, |
| 576 | + <<"include/telega@router_PreCheckoutQueryRoute.hrl">>, |
| 569 577 | <<"include/telega@router_Router.hrl">>, |
| 578 | + <<"include/telega@router_ShippingQueryRoute.hrl">>, |
| 570 579 | <<"include/telega@router_TextPatternRoute.hrl">>, |
| 571 580 | <<"include/telega@router_VideoRoute.hrl">>, |
| 572 581 | <<"include/telega@router_VoiceRoute.hrl">>, |
| @@ -0,0 +1,5 @@ | |
| 1 | + -record(chat_join_request_route, { |
| 2 | + handler :: fun((telega@bot:context(any(), any()), telega@model@types:chat_join_request()) -> {ok, |
| 3 | + telega@bot:context(any(), any())} | |
| 4 | + {error, any()}) |
| 5 | + }). |
| @@ -0,0 +1,5 @@ | |
| 1 | + -record(chat_member_updated_route, { |
| 2 | + handler :: fun((telega@bot:context(any(), any()), telega@model@types:chat_member_updated()) -> {ok, |
| 3 | + telega@bot:context(any(), any())} | |
| 4 | + {error, any()}) |
| 5 | + }). |
| @@ -0,0 +1,5 @@ | |
| 1 | + -record(chosen_inline_result_route, { |
| 2 | + handler :: fun((telega@bot:context(any(), any()), telega@model@types:chosen_inline_result()) -> {ok, |
| 3 | + telega@bot:context(any(), any())} | |
| 4 | + {error, any()}) |
| 5 | + }). |
Loading more files…