add sending to tg for method PutMessage

This commit is contained in:
Pavel 2024-02-11 23:19:25 +03:00
parent fe35ebd5f4
commit 1e0ddc64a3

@ -67,6 +67,7 @@ type CreateTicketResp struct {
Sess string `json:"sess"` Sess string `json:"sess"`
} }
// todo tg mess
func (h *Heruvym) CreateTicket(w http.ResponseWriter, r *http.Request) { func (h *Heruvym) CreateTicket(w http.ResponseWriter, r *http.Request) {
defer func() { defer func() {
if err := r.Body.Close(); err != nil { if err := r.Body.Close(); err != nil {