1
00:00:00,360 --> 00:00:04,830
OK, we can also add telegram to our list of alerting notification channels.

2
00:00:05,040 --> 00:00:08,450
Telegram is very popular for messaging and it's very reliable.

3
00:00:08,820 --> 00:00:13,440
So inside Carafano in alerting notification channels, got a new channel.

4
00:00:13,920 --> 00:00:20,250
And here in the dropdown we have telegram it's going to want a bot API token in a shadow.

5
00:00:20,580 --> 00:00:22,800
So in this video, I'll show you how to get those.

6
00:00:23,220 --> 00:00:25,320
First of all, just name a telegram.

7
00:00:25,980 --> 00:00:31,100
Now we need to install telegram, telegram or work on your phone and your PC.

8
00:00:31,440 --> 00:00:36,390
So I've got it on my PC right now and I've just started it up and I don't have anything.

9
00:00:36,870 --> 00:00:39,350
I'm not a member of any groups or anything.

10
00:00:39,360 --> 00:00:43,860
So the first thing you need to do is create a bot and get inside.

11
00:00:44,010 --> 00:00:48,330
So what we do is we need to search for bot father and then type in Newport.

12
00:00:48,330 --> 00:00:49,000
So let's do that.

13
00:00:49,080 --> 00:00:56,310
So if you search for that bot there and it comes up right the top is this verified one hand bot father

14
00:00:56,670 --> 00:00:59,490
click that link to the bottom here.

15
00:00:59,490 --> 00:01:05,129
Click start and right slash new bot enter.

16
00:01:05,340 --> 00:01:08,400
OK, so we need to think of a name for our bot.

17
00:01:09,150 --> 00:01:12,240
I can call it anything I like system alerts.

18
00:01:12,240 --> 00:01:14,400
Maybe that says good.

19
00:01:14,410 --> 00:01:20,910
Now let's choose a username for you, but it must end in bot like so like this Tetris bot or Tetris.

20
00:01:21,120 --> 00:01:24,660
It also needs to be unique across the whole of telegram's.

21
00:01:24,660 --> 00:01:26,910
So you might have to try a few.

22
00:01:26,910 --> 00:01:31,230
So I'm going to call it my company microfauna.

23
00:01:31,380 --> 00:01:33,450
What that says.

24
00:01:33,450 --> 00:01:34,350
Okay, I done.

25
00:01:34,350 --> 00:01:35,580
Congratulations on your new.

26
00:01:35,580 --> 00:01:39,600
But the important thing here is this API token here.

27
00:01:39,690 --> 00:01:40,380
Copy that.

28
00:01:40,860 --> 00:01:42,750
Go into Carfagna and paste it there.

29
00:01:42,900 --> 00:01:44,100
So now I need to chat today day.

30
00:01:44,100 --> 00:01:46,410
It's not that easy to get.

31
00:01:46,410 --> 00:01:48,870
You can't really find them just by default.

32
00:01:48,870 --> 00:01:51,930
We have to retrieve it from the metadata from one of our groups.

33
00:01:51,930 --> 00:01:56,580
So we need to create a group and add a bot to it and then send a message to it.

34
00:01:56,580 --> 00:02:02,820
And then we can extract a chat today from the metadata to go back into telegram and we'll create a group,

35
00:02:02,820 --> 00:02:08,699
new group, I'm going to call it my company system alerts text.

36
00:02:09,120 --> 00:02:10,680
So now I need to add a member.

37
00:02:10,860 --> 00:02:15,030
I'm a member already because I just created this group, but we need to add Albert to it.

38
00:02:15,030 --> 00:02:15,480
So.

39
00:02:15,600 --> 00:02:23,740
So we called our bot at my company, Grif Bot, and there it is.

40
00:02:23,740 --> 00:02:24,330
It's coming out.

41
00:02:24,330 --> 00:02:26,700
This system alerts to create.

42
00:02:26,940 --> 00:02:33,090
We now click our system alerts bot there and do send a message down the bottom here start and we'll

43
00:02:33,090 --> 00:02:34,580
just send anything like hi.

44
00:02:34,800 --> 00:02:35,790
And so okay.

45
00:02:35,790 --> 00:02:37,830
So we now have one message.

46
00:02:37,830 --> 00:02:41,430
We can now extract the ID from that message.

47
00:02:41,610 --> 00:02:47,970
By doing this we need to create a euro is get updates euro without ideate in it.

48
00:02:48,570 --> 00:02:49,470
But Edesia.

49
00:02:52,620 --> 00:02:59,550
And put that into a proposal like so, OK, let's find the message was sent down there if I just go

50
00:02:59,550 --> 00:03:00,670
backwards along there.

51
00:03:00,720 --> 00:03:05,310
There is a chat node and with an I.D., that's our chat idea there.

52
00:03:05,700 --> 00:03:08,750
So back into our day now.

53
00:03:08,760 --> 00:03:09,810
Send a test.

54
00:03:11,720 --> 00:03:17,420
A test notification center just behind my head, because I got a telegram opened up, I've just got

55
00:03:17,420 --> 00:03:18,840
a little more desktop.

56
00:03:18,980 --> 00:03:23,280
There is a notification on my telephone because I have a telegram installed on it.

57
00:03:23,300 --> 00:03:25,760
If I click that, it can go to it.

58
00:03:25,760 --> 00:03:28,970
And I can see that's the message from Fana.

59
00:03:28,970 --> 00:03:29,780
Send another artist.

60
00:03:30,930 --> 00:03:31,340
There me go.

61
00:03:31,380 --> 00:03:35,780
There's another one just showing up straight away on my mobile phone, so telegram is great for that

62
00:03:35,780 --> 00:03:36,460
kind of thing.

63
00:03:36,740 --> 00:03:40,970
And so inside the telegram app on your PC, you no longer need this, but it's there.

64
00:03:40,970 --> 00:03:45,080
If you want, you can go to system alerts and you can see those messages that were just sent.

65
00:03:45,620 --> 00:03:47,270
OK, so let's send another test.

66
00:03:49,220 --> 00:03:54,390
I think there's another one there, you can use it on your PC and your mobile phone at the same time,

67
00:03:54,390 --> 00:03:57,230
and you can add new members to the group any time you want.

68
00:03:58,360 --> 00:04:00,620
Just by searching for them, so save it.

69
00:04:00,640 --> 00:04:07,390
And with this new alerting channel, you can use it alongside every other alerts down here.

70
00:04:07,630 --> 00:04:10,290
So you notifications send to SML.

71
00:04:10,300 --> 00:04:16,000
So we'll send a telegram and I'll send to e mail my justice system right down.

72
00:04:16,360 --> 00:04:17,680
Compacter one.

73
00:04:18,220 --> 00:04:18,730
Very good.

