From 639ad4329305f055de525236f6b349c32d940c0f Mon Sep 17 00:00:00 2001 From: Egor Rusanov Date: Tue, 13 May 2025 12:11:06 +0300 Subject: [PATCH] Add MessageThreadID to Message struct --- types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types.go b/types.go index 36c174b8..b88321c5 100644 --- a/types.go +++ b/types.go @@ -370,6 +370,8 @@ type Message struct { // from anonymous group administrators. The linked channel for messages // automatically forwarded to the discussion group // + MessageThreadID int `json:"message_thread_id,omitempty"` + // optional SenderChat *Chat `json:"sender_chat,omitempty"` // Date of the message was sent in Unix time