Documentation
¶
Index ¶
- func GetCall(callName CallType) string
- func GetSub(SubName SubType) (string, []interface{})
- type CallType
- type Chat
- type ChatParticipants
- type Meeting
- type MeetingBreakoutProps
- type MeetingDurationProps
- type MeetingLockSettingsProps
- type MeetingMeetingProp
- type MeetingMetadataProp
- type MeetingSystemProps
- type MeetingUsersProp
- type MeetingVoiceProp
- type MeetingWelcomeProp
- type Message
- type MessageSend
- type MessageSendSender
- type SubType
- type User
- type UserBreakoutProps
- type VoiceUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CallType ¶
type CallType int
const ( StreamCursorCall CallType = iota //BECAREFUL: The word INTERNALID must be replaced with the internal meeting id!!! VoidConnectionCall StopUserTypingCall SendGroupChatMsgCall StartUserTypingCall ChatMessageBeforeJoinCounterCall UserChangedLocalSettingsCall ValidateAuthTokenCall GetPadIdCall CreateSessionCall UpdateCaptionsOwnerCall FetchMessagePerPageCall ZoomSlideCall SwitchSlideCall SetEmojiStatusCall ToggleVoiceCall SendBulkAnnotationsCall ClearWhiteboardCall UndoAnnotationCall AddGlobalAccessCall MuteAllExceptPresenterCall MuteAllUsersCall ToggleWebcamsOnlyForModeratorCall ToggleLockSettingsCall ChangeGuestPolicyCall EndAllBreakoutsCall CreateBreakoutRoomCall CreateGroupCall RemovePresentationCall UserLeftMeetingCall SetExitReasonCall )
type Chat ¶
type Chat struct {
ChatId string `json:"chatId"`
MeetingId string `json:"meetingId"`
Access string `json:"access"`
CreatedBy string `json:"createdBy"`
Participants []ChatParticipants `json:"participants"`
Users []string `json:"users"`
}
For GoupChat and Private Chats
type ChatParticipants ¶
type Meeting ¶
type Meeting struct {
MeetingId string `json:"meetingId"`
BreakoutProps MeetingBreakoutProps `json:"breakoutProps"`
DurationProps MeetingDurationProps `json:"durationProps"`
Groups []interface{} `json:"groups"`
GuestLobbyMessage string `json:"guestLobbyMessage"`
Layout string `json:"layout"`
LockSettingsProps MeetingLockSettingsProps `json:"lockSettingsProps"`
MeetingEnded bool `json:"meetingEnded"`
MeetingProp MeetingMeetingProp `json:"meetingProp"`
MetadataProp MeetingMetadataProp `json:"metadataProp"`
PublishedPoll bool `json:"publishedPoll"`
RandomlySelectedUser []interface{} `json:"randomlySelectedUser"`
SystemProps MeetingSystemProps `json:"systemProps"`
UsersProp MeetingUsersProp `json:"usersProp"`
VoiceProp MeetingVoiceProp `json:"voiceProp"`
WelcomeProp MeetingWelcomeProp `json:"welcomeProp"`
}
type MeetingBreakoutProps ¶
type MeetingDurationProps ¶
type MeetingDurationProps struct {
CreatedDate string `json:"createdDate"`
CreatedTime int `json:"createdTime"`
Duration int `json:"duration"`
EndWhenNoModerator bool `json:"endWhenNoModerator"`
EndWhenNoModeratorDelayInMinutes int `json:"endWhenNoModeratorDelayInMinutes"`
MeetingExpireIfNoUserJoinedInMinutes int `json:"meetingExpireIfNoUserJoinedInMinutes"`
MeetingExpireWhenLastUserLeftInMinutes int `json:"meetingExpireWhenLastUserLeftInMinutes"`
TimeRemaining int `json:"timeRemaining"`
UserActivitySignResponseDelayInMinutes int `json:"userActivitySignResponseDelayInMinutes"`
UserInactivityInspectTimerInMinutes int `json:"userInactivityInspectTimerInMinutes"`
UserInactivityThresholdInMinutes int `json:"userInactivityThresholdInMinutes"`
}
type MeetingLockSettingsProps ¶
type MeetingLockSettingsProps struct {
DisableCam bool `json:"disableCam"`
DisableMic bool `json:"disableMic"`
DisableNotes bool `json:"disableNotes"`
DisablePrivateChat bool `json:"disablePrivateChat"`
DisablePublicChat bool `json:"disablePublicChat"`
HideUserList bool `json:"hideUserList"`
HideViewersCursor bool `json:"hideViewersCursor"`
LockOnJoin bool `json:"lockOnJoin"`
LockOnJoinConfigurable bool `json:"lockOnJoinConfigurable"`
LockedLayout bool `json:"lockedLayout"`
SetBy string `json:"setBy"`
}
type MeetingMeetingProp ¶
type MeetingMetadataProp ¶
type MeetingMetadataProp struct {
Metadata map[string]interface{} `json:"metadata"`
}
type MeetingSystemProps ¶
type MeetingSystemProps struct {
Html5InstanceId int `json:"html5InstanceId"`
}
type MeetingUsersProp ¶
type MeetingUsersProp struct {
AllowModsToEjectCameras bool `json:"allowModsToEjectCameras"`
AllowModsToUnmuteUsers bool `json:"allowModsToUnmuteUsers"`
AuthenticatedGuest bool `json:"authenticatedGuest"`
GuestPolicy string `json:"guestPolicy"`
MaxUsers int `json:"maxUsers"`
MeetingLayout string `json:"meetingLayout"`
UserCameraCap int `json:"userCameraCap"`
WebcamsOnlyForModerator bool `json:"webcamsOnlyForModerator"`
}
type MeetingVoiceProp ¶
type MeetingWelcomeProp ¶
type Message ¶
type Message struct {
ID string `json:"id"`
Timestamp int64 `json:"timestamp"`
CorrelationID string `json:"correlationId"`
ChatEmphasizedText bool `json:"chatEmphasizedText"`
Message string `json:"message"`
Sender string `json:"sender"`
SenderName string `json:"senderName"`
SenderRole string `json:"senderRole"`
MeetingId string `json:"meetingId"`
ChatId string `json:"chatId"`
}
func ConvertInToMessage ¶
Converts a map[string]interface{} (from ddp.Update) into a Message object
type MessageSend ¶
type MessageSend struct {
ID string `json:"correlationId"`
Sender MessageSendSender `json:"sender"`
ChatEmphasizedText bool `json:"chatEmphasizedText"`
Message string `json:"message"`
}
type MessageSendSender ¶
type SubType ¶
type SubType int
const ( UsersSub SubType = iota PollsSub PresentationsSub SlidesSub SlidePositionsSub CaptionsSub VoiceUsersSub WhiteboardMultiUserSub GroupChatSub PresentationPodsSub UsersSettingsSub GuestUserSub UsersInfosSub MeetingTimeRemainingSub LocalSettingsSub UsersTypingSub RecordMeetingsSub VideoStreamsSub ConnectionStatusSub VoiceCallStatesSub ExternalVideoMeetingsSub BreakoutsSub BreakoutsHistorySub PadsSub PadsSessionsSub PadsUpdatesSub UsersPersistentDataSub StreamCursorSub StreamAnnotationsAddedSub StreamAnnotationsRemovedSub GroupChatMsgSub CurrentPollSub CurrentUser )
type User ¶
type User struct {
MeetingID string `json:"meetingId"`
UserID string `json:"userId"`
ClientType string `json:"clientType"`
Validated bool `json:"validated"`
Left bool `json:"left"`
Approved bool `json:"approved"`
AuthTokenValidatedTime int64 `json:"authTokenValidatedTime"`
InactivityCheck bool `json:"inactivityCheck"`
LoginTime int64 `json:"loginTime"`
Authed bool `json:"authed"`
Avatar string `json:"avatar"`
BreakoutProps UserBreakoutProps `json:"breakoutProps"`
Color string `json:"color"`
EffectiveConnectionType interface{} `json:"effectiveConnectionType"`
Emoji string `json:"emoji"`
ExtID string `json:"extId"`
Guest bool `json:"guest"`
GuestStatus string `json:"guestStatus"`
IntID string `json:"intId"`
Locked bool `json:"locked"`
LoggedOut bool `json:"loggedOut"`
Mobile bool `json:"mobile"`
Name string `json:"name"`
Pin bool `json:"pin"`
Presenter bool `json:"presenter"`
ResponseDelay int `json:"responseDelay"`
Role string `json:"role"`
SortName string `json:"sortName"`
}
For users and current-user
type UserBreakoutProps ¶
type VoiceUser ¶
type VoiceUser struct {
IntId string `json:"intId"`
MeetingId string `json:"meetingId"`
CallerName string `json:"callerName"`
CallerNum string `json:"callerNum"`
CallingWith string `json:"callingWith"`
Joined bool `json:"joined"`
ListenOnly bool `json:"listenOnly"`
Muted bool `json:"muted"`
Spoke bool `json:"spoke"`
Talking bool `json:"talking"`
VoiceConf string `json:"voiceConf"`
VoiceUserId string `json:"voiceUserId"`
}
For voice-users
Click to show internal directories.
Click to hide internal directories.