Skip to content

Commit

Permalink
Merge pull request #121 from tada-team/meeting-short-view
Browse files Browse the repository at this point in the history
add meeting short view in contact struct
  • Loading branch information
melkayalenka authored Jul 12, 2022
2 parents f0f58f6 + 394f1b4 commit 66a1904
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contact.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ type Contact struct {
// Short view in task list
TaskShortView *bool `json:"task_short_view,omitempty"`

// Short view in meeting list
MeetingShortView *bool `json:"meeting_short_view,omitempty"`

// Short view in contact list in mobile app
ContactMshortView *bool `json:"contact_mshort_view,omitempty"`

Expand All @@ -143,6 +146,9 @@ type Contact struct {
// Short view in task list in mobile app
TaskMshortView *bool `json:"task_mshort_view,omitempty"`

// Short view in meeting list in mobile app
MeetingMshortView *bool `json:"meeting_mshort_view,omitempty"`

// Show archived contacts in contact list
ContactShowArchived *bool `json:"contact_show_archived,omitempty"`

Expand Down
6 changes: 6 additions & 0 deletions tdapi/contact.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ type Contact struct {
// Short view in task list
TaskShortView bool `json:"task_short_view"`

// Short view in meeting list
MeetingShortView bool `json:"meeting_short_view"`

// Short view in contact list in mobile app
ContactMshortView bool `json:"contact_mshort_view"`

Expand All @@ -112,4 +115,7 @@ type Contact struct {

// Short view in task list in mobile app
TaskMshortView bool `json:"task_mshort_view"`

// Short view in meeting list in mobile app
MeetingMshortView bool `json:"meeting_mshort_view"`
}

0 comments on commit 66a1904

Please sign in to comment.