Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
feat(telegram): add ability to send messages to telegram
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkamyshev committed May 11, 2019
1 parent e68e47e commit 41e72c0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion back/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"md5": "^2.2.1",
"morgan": "^1.9.1",
"nanoid": "^2.0.1",
"nest-telegram": "^0.2.3",
"nest-telegram": "^0.3.2",
"pg": "^7.8.0",
"promise-timeout": "^1.3.0",
"reflect-metadata": "^0.1.13",
Expand Down
2 changes: 2 additions & 0 deletions back/src/mind/mind.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { MiddlewareConsumer, Module, NestModule } from '@nestjs/common'
import { ModuleRef } from '@nestjs/core'
import { TypeOrmModule } from '@nestjs/typeorm'

import { TelegramModule } from '@back/telegram/telegram.module'
import { MoneyModule } from '@back/money/money.module'
import { UserModule } from '@back/user/user.module'
import { DbModule } from '@back/db/db.module'
Expand Down Expand Up @@ -31,6 +32,7 @@ import { RecurrentPaymentAdviser } from './application/adviser/RecurrentPaymentA
MoneyModule,
TypeOrmModule.forFeature([DisabledTip]),
TypeOrmModule.forFeature([CustomTip]),
TelegramModule,
],
controllers: [TipController, TypoController],
providers: [
Expand Down
24 changes: 12 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1305,10 +1305,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.18.tgz#1d3ca764718915584fcd9f6344621b7672665c67"
integrity sha512-fh+pAqt4xRzPfqA6eh3Z2y6fyZavRIumvjhaCL753+TVkGKGhpPeyrJG2JftD0T9q4GF00KjefsQ+PQNDdWQaQ==

"@types/node@^10.1.2":
version "10.12.27"
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.27.tgz#eb3843f15d0ba0986cc7e4d734d2ee8b50709ef8"
integrity sha512-e9wgeY6gaY21on3ve0xAjgBVjGDWq/xUteK0ujsE53bUoxycMkqfnkUgMt6ffZtykZ5X12Mg3T7Pw4TRCObDKg==
"@types/node@^11.12.1":
version "11.13.10"
resolved "https://registry.yarnpkg.com/@types/node/-/node-11.13.10.tgz#4df59e5966b56f512bac98898bcbee5067411f0f"
integrity sha512-leUNzbFTMX94TWaIKz8N15Chu55F9QSH+INKayQr5xpkasBQBRF3qQXfo3/dOnMU/dEIit+Y/SU8HyOjq++GwA==

"@types/prop-types@*":
version "15.5.8"
Expand Down Expand Up @@ -7997,10 +7997,10 @@ neo-async@^2.5.0:
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.0.tgz#b9d15e4d71c6762908654b5183ed38b753340835"
integrity sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA==

nest-telegram@^0.2.3:
version "0.2.3"
resolved "https://registry.yarnpkg.com/nest-telegram/-/nest-telegram-0.2.3.tgz#4a41a176334de5bb211ea5a25ee98c3ba51ba651"
integrity sha512-lDSSv6+dU7ASmg2oh72ftvEBzhKjIDwRzHZE3tz+lqgFTYrAsNATX83ApRa3DGIVvLAYfb0B0YbWSX8ANWp9pA==
nest-telegram@^0.3.2:
version "0.3.2"
resolved "https://registry.yarnpkg.com/nest-telegram/-/nest-telegram-0.3.2.tgz#d328300d6402f82a090891b1fa771c157450ba42"
integrity sha512-xt8uuBzTUCkXHSeKOz/DMAsqC2mOlcWhSxxlOm4UHHk83NRVVJT23bzz+pJagCDfPImkEeeu8WduYq0T3WMswg==
dependencies:
lodash "^4.17.11"
telegraf "^3.27.1"
Expand Down Expand Up @@ -12391,11 +12391,11 @@ tar@^4:
yallist "^3.0.2"

telegraf@^3.27.1:
version "3.27.1"
resolved "https://registry.yarnpkg.com/telegraf/-/telegraf-3.27.1.tgz#67fbd87a6b4f414a204820f8cb30160e2078b39c"
integrity sha512-RQUnuNAEEWcLhRap81qwGUUqAy1KcvqANnA0G3pzZqFkhMe6LrTk5lVi9tdOaF0Ud/yOx5fdx0rNPYfiB27Z+w==
version "3.29.0"
resolved "https://registry.yarnpkg.com/telegraf/-/telegraf-3.29.0.tgz#0655d02b9a2d72d53ff20787947aa10ad54a747c"
integrity sha512-zvlY2Wnls7D/sJDTD21tORR9S1Exe6NThUCvYhdhCoKx7+OOZlplSd4yhSZbRI4bViuFdyhxCE+IuWS/ZmAElg==
dependencies:
"@types/node" "^10.1.2"
"@types/node" "^11.12.1"
debug "^4.0.1"
node-fetch "^2.2.0"
sandwich-stream "^2.0.1"
Expand Down

0 comments on commit 41e72c0

Please sign in to comment.