message

package
v0.0.0-...-3ec7d67 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Channel      string `json:"channel"`
	Text         string `json:"text"`
	ParentThread string `json:"thread_ts,omitempty"`
	BotId        string `json:"bot_id,omitempty"`
	Type         string `json:"type,omitempty"`
	User         string `json:"user,omitempty"`
	Thread       string `json:"ts,omitempty"`
	Team         string `json:"team,omitempty"`
}

func SendMessageAsUser

func SendMessageAsUser(m *Message) (*Message, error)

type SenderType

type SenderType string
const (
	SenderTypeBot  SenderType = "bot"
	SenderTypeUser SenderType = "user"
)

Jump to

Keyboard shortcuts

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