From 60b2070d16e182d6e23b06befd24d3bfebedaf70 Mon Sep 17 00:00:00 2001 From: Maxim Oransky Date: Sat, 12 Jun 2021 20:38:32 +0300 Subject: [PATCH] remove WikiPage --- chat.go | 3 --- wiki_page.go | 21 --------------------- 2 files changed, 24 deletions(-) delete mode 100644 wiki_page.go diff --git a/chat.go b/chat.go index 9211145..9fabaeb 100644 --- a/chat.go +++ b/chat.go @@ -236,9 +236,6 @@ type Chat struct { // Can I change Important flag in any message in this chat CanSetImportantAnyMessage bool `json:"can_set_important_any_message,omitempty"` - // Wiki page in this chat - //WikiPage *ShortWikiPage `chattype:"group" json:"wiki_page,omitempty"` - // Date of the last message sent even if it was deleted LastActivity ISODateTimeString `json:"last_activity,omitempty"` } diff --git a/wiki_page.go b/wiki_page.go deleted file mode 100644 index 7c9bf15..0000000 --- a/wiki_page.go +++ /dev/null @@ -1,21 +0,0 @@ -package tdproto - -//type ShortWikiPage struct { -// Updated string `json:"updated"` -// Editor JID `json:"editor"` -//} - -// Wiki page. Experimental -type WikiPage struct { - // Object version - Gentime int64 `json:"gentime"` - - // Update time - Updated ISODateTimeString `json:"updated"` - - // Last editor contact id - Editor JID `json:"editor"` - - // Page text - Text string `json:"text"` -}