Documentation ¶
Index ¶
- func ClearError()
- func MessageHandler(msg *store.Message)
- func RandStringBytesMaskImprSrcUnsafe(n int) string
- func RegistrationDone()
- func RequestInput(request string) string
- func Run() error
- func SetGui()
- func SetUiDarkMode()
- func ShowError(errorMessage string)
- func UpdateActiveChat()
- func UpdateChatList()
- func UpdateContactList()
- func UpdateMessageHandler(msg *store.Message)
- func UpdateMessageHandlerWithSource(msg *store.Message)
- type AddContactMessage
- type AddDeviceMessage
- type ChatListEnvelope
- type ConfigEnvelope
- type ContactListEnvelope
- type CreateChatMessage
- type CreateGroupMessage
- type CurrentChatEnvelope
- type DelChatMessage
- type DelContactMessage
- type DelDeviceMessage
- type DelMessageMessage
- type DeviceListEnvelope
- type EditContactMessage
- type GetMessageListMessage
- type GetMoreMessages
- type IdentityEnvelope
- type Message
- type MessageListEnvelope
- type MessageRecieved
- type MoreMessageListEnvelope
- type OpenChat
- type OpenChatMessage
- type RefreshContactsMessage
- type RequestCodeMessage
- type ResetEncryptionMessage
- type SendAttachmentMessage
- type SendCaptchaTokenMessage
- type SendCodeMessage
- type SendEnterChatRequest
- type SendError
- type SendGui
- type SendMessageMessage
- type SendPasswordMessage
- type SendPinMessage
- type SendRequest
- type SendUsernameMessage
- type SetDarkMode
- type SetPasswordMessage
- type UpdateCurrentChat
- type UpdateCurrentChatEnvelope
- type UpdateGroupMessage
- type UpdateMessage
- type UploadAttachmentMessage
- type UploadVcf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearError ¶ added in v0.8.0
func ClearError()
func MessageHandler ¶
func RandStringBytesMaskImprSrcUnsafe ¶ added in v0.8.0
func RegistrationDone ¶
func RegistrationDone()
RegistrationDone sets restration status to done and sends registration status to axoltol-web
func RequestInput ¶
func SetUiDarkMode ¶ added in v0.8.0
func SetUiDarkMode()
func UpdateActiveChat ¶ added in v0.8.0
func UpdateActiveChat()
UpdateActiveChat checks if there is an active chat an if yes it updates it on axolotl web
func UpdateChatList ¶
func UpdateChatList()
UpdateChatList updates the chatlist if not entered a chat + registered
func UpdateContactList ¶ added in v0.6.8
func UpdateContactList()
UpdateContactList updates the contactlist if not entered a chat + registered
func UpdateMessageHandler ¶ added in v0.9.0
UpdateMessageHandler sents message receipts to all connected clients for the activeChat
func UpdateMessageHandlerWithSource ¶ added in v0.9.0
UpdateMessageHandlerWithSource checks if the message belongs to the current chat and if yes triggers an update on axolotl web
Types ¶
type AddContactMessage ¶
type AddDeviceMessage ¶
type ChatListEnvelope ¶
type ConfigEnvelope ¶ added in v0.6.15
type ContactListEnvelope ¶
type ContactListEnvelope struct {
ContactList []textsecureContacts.Contact
}
type CreateChatMessage ¶ added in v0.6.7
type CreateGroupMessage ¶ added in v0.6.8
type CurrentChatEnvelope ¶ added in v0.6.15
type CurrentChatEnvelope struct {
OpenChat *OpenChat
}
type DelChatMessage ¶ added in v0.6.3
type DelContactMessage ¶ added in v0.6.4
type DelDeviceMessage ¶
type DelMessageMessage ¶ added in v0.9.9
type DeviceListEnvelope ¶
type DeviceListEnvelope struct {
DeviceList []textsecure.DeviceInfo
}
type EditContactMessage ¶ added in v0.6.4
type GetMessageListMessage ¶
type GetMoreMessages ¶
type IdentityEnvelope ¶ added in v0.6.15
type MessageListEnvelope ¶
type MessageListEnvelope struct {
MessageList *store.MessageList
}
type MessageRecieved ¶
type MoreMessageListEnvelope ¶
type MoreMessageListEnvelope struct {
MoreMessageList *store.MessageList
}
type OpenChat ¶ added in v0.7.5
type OpenChat struct { CurrentChat *store.Session Contact *textsecureContacts.Contact Group *textsecure.Group }
type OpenChatMessage ¶ added in v0.7.5
type RefreshContactsMessage ¶
type RequestCodeMessage ¶
type ResetEncryptionMessage ¶ added in v0.6.15
type SendAttachmentMessage ¶ added in v0.6.15
type SendCaptchaTokenMessage ¶ added in v0.9.7
type SendCodeMessage ¶
type SendEnterChatRequest ¶ added in v0.6.8
type SendGui ¶ added in v0.6.15
type SendGui struct {
Gui string
}
SendGui sends to axolotl the gui to trigger ubuntu touch specific parts
type SendMessageMessage ¶
type SendPasswordMessage ¶ added in v0.6.15
type SendPinMessage ¶ added in v0.8.0
type SendRequest ¶
type SendRequest struct {
Type string
}
type SendUsernameMessage ¶ added in v1.0.0
type SetDarkMode ¶ added in v0.8.0
type SetPasswordMessage ¶ added in v0.6.15
type UpdateCurrentChat ¶ added in v0.8.0
type UpdateCurrentChat struct { CurrentChat *store.Session Contact *textsecureContacts.Contact Group *textsecure.Group }
type UpdateCurrentChatEnvelope ¶ added in v0.8.0
type UpdateCurrentChatEnvelope struct {
UpdateCurrentChat *UpdateCurrentChat
}
type UpdateGroupMessage ¶ added in v0.7.5
type UpdateMessage ¶ added in v0.9.0
type UploadAttachmentMessage ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.