* MM-21357: Use typed constant for channel types https://mattermost.atlassian.net/browse/MM-21357 ```release-note - Introduced a new type ChannelType for all channel types. - Updated the Client4.UpdateChannelPrivacy method to ChannelType. ``` * Address review comments ```release-note NONE ``` * telemetry fix ```release-note NONE ```
37 строки
753 B
Go
37 строки
753 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package model
|
|
|
|
type MessageExport struct {
|
|
TeamId *string
|
|
TeamName *string
|
|
TeamDisplayName *string
|
|
|
|
ChannelId *string
|
|
ChannelName *string
|
|
ChannelDisplayName *string
|
|
ChannelType *ChannelType
|
|
|
|
UserId *string
|
|
UserEmail *string
|
|
Username *string
|
|
IsBot bool
|
|
|
|
PostId *string
|
|
PostCreateAt *int64
|
|
PostUpdateAt *int64
|
|
PostDeleteAt *int64
|
|
PostMessage *string
|
|
PostType *string
|
|
PostRootId *string
|
|
PostProps *string
|
|
PostOriginalId *string
|
|
PostFileIds StringArray
|
|
}
|
|
|
|
type MessageExportCursor struct {
|
|
LastPostUpdateAt int64
|
|
LastPostId string
|
|
}
|