Skip to content

Commit

Permalink
add bedehi msg
Browse files Browse the repository at this point in the history
  • Loading branch information
r0zbeh committed Sep 20, 2023
1 parent 0b3ecb0 commit 968e00e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3
1.3.1
2 changes: 1 addition & 1 deletion web/controller/inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func (a *InboundController) charge(c *gin.Context) {
a.xrayService.SetToNeedRestart()
}

url1 := "https://api.telegram.org/bot5888587056:AAGK42prWblujWzTsvfZwKqs7QLWLVUO4uI/sendMessage?chat_id="+context.Tellid+"&text="+context.Vuser+"%20%E2%9C%85"+" "+ strconv.FormatInt(context.Period, 10) + " ماهه "
url1 := "https://api.telegram.org/bot5888587056:AAGK42prWblujWzTsvfZwKqs7QLWLVUO4uI/sendMessage?chat_id="+context.Tellid+"&text="+context.Vuser+"%20%E2%9C%85"+" "+ strconv.FormatInt(context.Period, 10) + " ماهه "+"\n\n"+ " مبلغ جدید بدهی = "+"%20%f0%9f%92%a2%20"+ context.Bedehi +"%20%f0%9f%92%a2%20"
h := &http.Client{Transport: &http.Transport{}}
r,_ := h.Get(url1);
defer r.Body.Close()
Expand Down

0 comments on commit 968e00e

Please sign in to comment.