{{.Contact.Nickname}} 的聊天记录

{{if .Contact.Avatar}} {{.Contact.Nickname}} {{else}}
{{if eq .Contact.Type "group"}} {{else}} {{end}}
{{end}}

{{.Contact.Nickname}}

{{.Contact.WechatID}}

{{if eq .Contact.Type "group"}}群聊{{else}}好友{{end}}
共 {{.TotalPages}} 页
{{if .HasPrev}} 上一页 {{else}} 上一页 {{end}} {{.Page}} {{if .HasNext}} 下一页 {{else}} 下一页 {{end}}
{{if .Messages}} {{range .Messages}}
{{if not .IsFromMe}}
{{.SenderName}}
{{end}} {{if eq .ContentType "text"}}

{{.Content}}

{{else if eq .ContentType "image"}}
图片消息

图片消息

{{else if eq .ContentType "file"}}

{{.Content}}

文件消息

{{else if eq .ContentType "video"}}

视频消息

{{else if eq .ContentType "voice"}}

语音消息

{{else}}

{{.Content}}

{{end}}
{{.SendTime.Format "2006-01-02 15:04:05"}}
{{end}} {{else}}

没有聊天记录

{{end}}
{{if gt .TotalPages 1}} {{if gt .Page 2}} 1 {{end}} {{if .HasPrev}} {{.PrevPage}} {{end}} {{.Page}} {{if .HasNext}} {{.NextPage}} {{end}} {{if lt .Page (sub .TotalPages 1)}} {{.TotalPages}} {{end}} {{end}}
{{ embed "robot/send_message" .}}