Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
B
Byodv2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dio Maulana
Byodv2
Commits
75fd958c
Commit
75fd958c
authored
Sep 21, 2022
by
Dio Maulana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
send ke tele untuk report
parent
3032debf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
helper.dart
lib/helper/helper.dart
+3
-1
No files found.
lib/helper/helper.dart
View file @
75fd958c
...
@@ -51,9 +51,11 @@ Future<dynamic> httpPost(
...
@@ -51,9 +51,11 @@ Future<dynamic> httpPost(
}
}
Future
<
dynamic
>
sendTele
(
String
teks
,
String
namaFungsi
)
async
{
Future
<
dynamic
>
sendTele
(
String
teks
,
String
namaFungsi
)
async
{
String
tokenBot
=
'5582109697:AAH3L_5fl8tZ6qRhNeTR8lHdXbO4hrt2WzE'
;
String
groupID
=
'-670190632'
;
await
http
.
get
(
await
http
.
get
(
Uri
.
parse
(
Uri
.
parse
(
'https://api.telegram.org/bot
5582109697:AAH3L_5fl8tZ6qRhNeTR8lHdXbO4hrt2WzE/sendMessage?chat_id=-670190632
&text=
$teks
'
),
'https://api.telegram.org/bot
$tokenBot
/sendMessage?chat_id=
$groupID
&text=
$teks
'
),
);
);
return
true
;
return
true
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment