zoom

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ContextVersion is a fixed value.
	ContextVersion = "1.0.0"

	// AppUri is the URL to the Zooms page.
	PhoneUSA = "+16468769923"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Zoom

type Zoom struct {
	ContextVersion string `json:"ctxver"`
	AppUri         string `json:"meeting_api"`
	Organization   string `json:"organization"`
	ZoomID         string `json:"meeting_id"`
	ZoomPWD        string `json:"meeting_pwd"`
}

zoom encapsulates the model that is required to construct a zoom.

func New

func New(organization string, id string, pwd string) *Zoom

New creates a zoom from a given id and pwd.

func Parse added in v0.1.11

func Parse(input string) *Zoom

func (Zoom) AppURL

func (z Zoom) AppURL() string

AppURL returns the same value as the BrowserURL

func (Zoom) BrowserURL

func (z Zoom) BrowserURL() string

BrowserURL returns a URL that can be used to open a Zoom in a browser.

func (Zoom) Classification

func (z Zoom) Classification() string

func (Zoom) ID

func (z Zoom) ID() string

ID returns the Zoom id

func (Zoom) MeetingURL

func (z Zoom) MeetingURL() string

MeetingURL returns the same value as the BrowserURL

func (Zoom) PWD

func (z Zoom) PWD() string

PWD returns the Zoom pwd

func (Zoom) Phone

func (z Zoom) Phone() string

Phone returns an empty string, as Zooms do not implement a dial-in number

func (*Zoom) SetUser

func (z *Zoom) SetUser(user string)

SetUser does nothing as Zooms do not support modifying the participant name

Jump to

Keyboard shortcuts

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