Files
houston-be/service/response/user_response.go
Gullipalli Chetan Kumar 6b44ec9ec3 TP-43103 : Synch users data from slack to database and exposed api to return a list of bot users (#228)
* TP-42310| created api service to get list of slackbots (#215)

* TP-42310| created api service to get list of slackbots

* minor bug fix in GetAllHoustonUserBots function

* Synch users to db (#213)

* TP-43103| added event listeners to user detail changes and saving to db

* TP-43103| refactored the upsert users scheduler

* TP-43103| fixed updating users when deactivated in scheduler

* TP-43103| Made the requested changes

* added info loggers to user change events

* made changes to process only navi workspace user changes

* made addressed changes in pr and returning Real name in GetAllHoustonUserBots api

* resolved merge conflicts
2023-10-20 13:05:40 +05:30

13 lines
313 B
Go

package service
type ChannelMembersResponse struct {
Participants []UserResponse `json:"participants"`
Others []UserResponse `json:"others"`
}
type UserResponse struct {
Id string `json:"id"`
Name string `json:"name"`
Email string `json:"email,omitempty"`
Image string `json:"image,omitempty"`
}