adapter

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package adapter contains mapping helpers that convert Microsoft Graph SDK models into the library's simplified internal models.

The functions in this package translate Graph types (e.g. Teamable, Channelable, ChatMessageable) into corresponding models used by the higher-level APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapGraphChannel

func MapGraphChannel(graphChannel msmodels.Channelable) *models.Channel

MapGraphChannel maps a Microsoft Graph Channelable to simplified Channel model.

func MapGraphChat

func MapGraphChat(graphChat msmodels.Chatable) *models.Chat

MapGraphChat maps a Microsoft Graph Chatable to simplified Chat model.

func MapGraphMember

func MapGraphMember(graphMember msmodels.ConversationMemberable) *models.Member

MapGraphMember maps a Microsoft Graph ConversationMemberable to simplified Member model.

func MapGraphMessage

func MapGraphMessage(graphMessage msmodels.ChatMessageable) *models.Message

MapGraphMessage maps a Microsoft Graph ChatMessageable to simplified Message model.

func MapGraphPinnedMessage

func MapGraphPinnedMessage(graphPinned msmodels.PinnedChatMessageInfoable) *models.Message

MapGraphPinnedMessage maps a Microsoft Graph PinnedChatMessageInfoable to simplified Message model.

func MapGraphTeam

func MapGraphTeam(graphTeam msmodels.Teamable) *models.Team

MapGraphTeam maps a Microsoft Graph Teamable to simplified Team model.

Types

This section is empty.

Jump to

Keyboard shortcuts

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