msgnotify

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartNotify

func StartNotify(ctx context.Context, actionID string) (stop func())

StartNotify starts notifying the user for any new messages that mentions the user. A stop callback is returned. actionID must be application-scoped and therefore have the "app." prefix.

Types

type OpenRoomCommand

type OpenRoomCommand struct {
	UserID matrix.UserID `json:"user_id"`
	RoomID matrix.RoomID `json:"room_id"`
}

OpenRoomCommand is the command structure for the open room action.

Jump to

Keyboard shortcuts

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