Skip to content

Commit

Permalink
Merge pull request #98 from tada-team/meeting-freq-statuses
Browse files Browse the repository at this point in the history
add chat to meeting struct
  • Loading branch information
deniskelin authored May 13, 2022
2 parents 3d34acd + 2b387b7 commit eed12f9
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions meetings.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,18 @@ package tdproto
type Meeting struct {
Id string `json:"id"`
TeamUuid string `json:"team_uuid"`
ChatUuid string `json:"chat_uuid"`
OwnerContactUuid JID `json:"owner_contact_uuid"`
OwnerUserUuid string `json:"owner_user_uuid"`
PersonalAccountId string `json:"personal_account_id,omitempty"`
Title string `json:"title,omitempty"`
Description string `json:"description,omitempty"`
StartAt ISODateTimeString `json:"start_at"`
Duration int32 `json:"duration"`
Freq *Freq `json:"freq,omitempty"`
IsArchive bool `json:"is_archive,omitempty"`
IsPublic bool `json:"is_public,omitempty"`
IsOutside bool `json:"is_outside,omitempty"`
IsRequired bool `json:"is_required,omitempty"`
CanAddMember bool `json:"can_add_member,omitempty"`
CanDelete bool `json:"can_delete,omitempty"`
CanEdit bool `json:"can_edit,omitempty"`
CanJoin bool `json:"can_join,omitempty"`
Members []MeetingMember `json:"meeting_members,omitempty"`
MeetingMembers []MeetingMember `json:"meeting_members,omitempty"`
Chat
}

type MeetingsGetRequest struct {
Expand All @@ -38,10 +32,7 @@ type MeetingsGetRequest struct {
}

type MeetingsResponse struct {
Items []Meeting `json:"items"`
Limit *int32 `json:"limit,omitempty"`
Offset *int32 `json:"offset,omitempty"`
Total *int32 `json:"total,omitempty"`
PaginatedMeetings
}

type MeetingsDatesResponse struct {
Expand Down

0 comments on commit eed12f9

Please sign in to comment.