Documentation
¶
Overview ¶
* @Author: NyanCatda * @Date: 2022-04-03 16:39:38 * @LastEditTime: 2022-04-03 22:23:02 * @LastEditors: NyanCatda * @Description: 群组类请求封装 * @FilePath: \Momizi\Internal\MessageSend\ChatSoftwareAPI\Line\Group.go
* @Author: McPlus * @Date: 2022-03-23 20:22:16 * @LastEditTime: 2022-03-28 15:16:09 * @LastEditors: NyanCatda * @Description: Message * @FilePath: \Momizi\Internal\MessageSend\ChatSoftwareAPI\Line\Message.go
* @Author: NyanCatda * @Date: 2022-04-03 16:27:55 * @LastEditTime: 2022-04-03 22:22:50 * @LastEditors: NyanCatda * @Description: 个人资料获取 * @FilePath: \Momizi\Internal\MessageSend\ChatSoftwareAPI\Line\Profile.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GroupChatSummary ¶
type GroupChatSummary struct {
GroupID string `json:"groupId"` // 群组ID
GroupName string `json:"groupName"` // 群组名称
PictureURL string `json:"pictureUrl"` // 群组头像链接
}
func GetGroupChatSummary ¶
func GetGroupChatSummary(GroupID string) (GroupChatSummary, error)
*
- @description: 获取群组信息
- @param {string} GroupID 群组ID
- @return {GroupChatSummary} 群组信息
- @return {error} 错误信息
type UserProfile ¶
type UserProfile struct {
DisplayName string `json:"displayName"` // 用户名
UserID string `json:"userId"` // 用户ID
Language string `json:"language"` // 语言
PictureURL string `json:"pictureUrl"` // 头像链接
StatusMessage string `json:"statusMessage"` // 状态信息
}
func GetProfile ¶
func GetProfile(UserID string) (UserProfile, error)
*
- @description: 获取个人资料
- @param {string} UserID 用户ID
- @return {UserProfile} 个人资料
- @return {error} 错误信息
Click to show internal directories.
Click to hide internal directories.