clientmodels

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityIDs

type ActivityIDs struct {
	ChatID           string
	TeamID           string
	ChannelID        string
	MessageID        string
	ReplyID          string
	HostedContentsID string
}

type App

type App struct {
	Credentials       []Credential
	RequiredResources []ResourceAccess
}

type Attachment

type Attachment struct {
	ID           string
	ContentType  string
	Content      string
	Name         string
	ContentURL   string
	ThumbnailURL string
	Data         io.Reader
}

type Channel

type Channel struct {
	ID          string
	DisplayName string
	Description string
}

type Chat

type Chat struct {
	ID      string
	Members []ChatMember
	Type    string
	Topic   string
}

type ChatMember

type ChatMember struct {
	DisplayName string
	UserID      string
	Email       string
}

type Credential

type Credential struct {
	Name        string
	ID          string
	EndDateTime time.Time
	Hint        string
}

type Mention

type Mention struct {
	ID             int32
	UserID         string
	MentionedText  string
	ConversationID string
}

type Message

type Message struct {
	ID              string
	UserID          string
	UserDisplayName string
	Text            string
	Subject         string
	ReplyToID       string
	Attachments     []Attachment
	Reactions       []Reaction
	Mentions        []Mention
	ChannelID       string
	TeamID          string
	ChatID          string
	CreateAt        time.Time
	LastUpdateAt    time.Time
}

type Presence

type Presence struct {
	UserID       string
	Availability string
	Activity     string
}

type Reaction

type Reaction struct {
	UserID   string
	Reaction string
}

type ResourceAccess

type ResourceAccess struct {
	ID   string
	Type string
}

type Subscription

type Subscription struct {
	ID              string
	Type            string
	ChannelID       string
	Resource        string
	TeamID          string
	UserID          string
	ExpiresOn       time.Time
	NotificationURL string
}

type Team

type Team struct {
	ID          string
	DisplayName string
	Description string
}

type User

type User struct {
	DisplayName       string
	ID                string
	Mail              string
	UserPrincipalName string
	Type              string
	IsAccountEnabled  bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL