mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-11 21:09:40 +08:00
fix: remove unused ChatTitle field from FilenameTemplateData struct
This commit is contained in:
@@ -26,13 +26,12 @@ func IsSupported(media tg.MessageMediaClass) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type FilenameTemplateData struct {
|
type FilenameTemplateData struct {
|
||||||
MsgID string `json:"msgid,omitempty"`
|
MsgID string `json:"msgid,omitempty"`
|
||||||
MsgTags string `json:"msgtags,omitempty"`
|
MsgTags string `json:"msgtags,omitempty"`
|
||||||
MsgGen string `json:"msggen,omitempty"`
|
MsgGen string `json:"msggen,omitempty"`
|
||||||
MsgDate string `json:"msgdate,omitempty"`
|
MsgDate string `json:"msgdate,omitempty"`
|
||||||
OrigName string `json:"origname,omitempty"`
|
OrigName string `json:"origname,omitempty"`
|
||||||
ChatID string `json:"chatid,omitempty"`
|
ChatID string `json:"chatid,omitempty"`
|
||||||
ChatTitle string `json:"chattitle,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f FilenameTemplateData) ToMap() map[string]string {
|
func (f FilenameTemplateData) ToMap() map[string]string {
|
||||||
|
|||||||
Reference in New Issue
Block a user