Documentation
¶
Index ¶
- type ActivityPresenter
- func (s ActivityPresenter) ShowAudio(data output.ShowAudioData) (int, error)
- func (s ActivityPresenter) ShowGif(animationData output.ShowAnimationData) (int, error)
- func (s ActivityPresenter) ShowImage(imageData output.ShowImageData) (int, error)
- func (s ActivityPresenter) ShowMessage(data output.ShowMessageData) (int, error)
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
Click to show internal directories.
Click to hide internal directories.