activities

package
v0.0.0-...-bafbf86 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 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 ActivityPresenter

type ActivityPresenter struct {
	// contains filtered or unexported fields
}

ActivityPresenter - produces ViewMessageData from msg text

func NewActivityPresenter

func NewActivityPresenter(outputView output.IView) *ActivityPresenter

NewActivityPresenter - constructor for ActivityPresenter

func (ActivityPresenter) ShowAudio

func (s ActivityPresenter) ShowAudio(data output.ShowAudioData) (int, error)

ShowAudio - Download audio from URL and show it

func (ActivityPresenter) ShowGif

func (s ActivityPresenter) ShowGif(animationData output.ShowAnimationData) (int, error)

ShowGif - display animation

func (ActivityPresenter) ShowImage

func (s ActivityPresenter) ShowImage(imageData output.ShowImageData) (int, error)

ShowImage - Download image from URL and show it

func (ActivityPresenter) ShowMessage

func (s ActivityPresenter) ShowMessage(data output.ShowMessageData) (int, error)

ShowMessage - display dummy message

Jump to

Keyboard shortcuts

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