Documentation ¶
Index ¶
- type DialogCore
- func (c *DialogCore) DialogClearAllDrafts(in *dialog.TLDialogClearAllDrafts) (*dialog.Vector_PeerWithDraftMessage, error)
- func (c *DialogCore) DialogClearDraftMessage(in *dialog.TLDialogClearDraftMessage) (*mtproto.Bool, error)
- func (c *DialogCore) DialogDeleteDialog(in *dialog.TLDialogDeleteDialog) (*mtproto.Bool, error)
- func (c *DialogCore) DialogDeleteDialogFilter(in *dialog.TLDialogDeleteDialogFilter) (*mtproto.Bool, error)
- func (c *DialogCore) DialogEditPeerFolders(in *dialog.TLDialogEditPeerFolders) (*dialog.Vector_DialogPinnedExt, error)
- func (c *DialogCore) DialogGetAllDrafts(in *dialog.TLDialogGetAllDrafts) (*dialog.Vector_PeerWithDraftMessage, error)
- func (c *DialogCore) DialogGetChannelMessageReadParticipants(in *dialog.TLDialogGetChannelMessageReadParticipants) (*dialog.Vector_Long, error)
- func (c *DialogCore) DialogGetDialogById(in *dialog.TLDialogGetDialogById) (*dialog.DialogExt, error)
- func (c *DialogCore) DialogGetDialogFilters(in *dialog.TLDialogGetDialogFilters) (*dialog.Vector_DialogFilterExt, error)
- func (c *DialogCore) DialogGetDialogFolder(in *dialog.TLDialogGetDialogFolder) (*dialog.Vector_DialogExt, error)
- func (c *DialogCore) DialogGetDialogUnreadMarkList(in *dialog.TLDialogGetDialogUnreadMarkList) (*dialog.Vector_DialogPeer, error)
- func (c *DialogCore) DialogGetDialogs(in *dialog.TLDialogGetDialogs) (*dialog.Vector_DialogExt, error)
- func (c *DialogCore) DialogGetDialogsByIdList(in *dialog.TLDialogGetDialogsByIdList) (*dialog.Vector_DialogExt, error)
- func (c *DialogCore) DialogGetDialogsByOffsetDate(in *dialog.TLDialogGetDialogsByOffsetDate) (*dialog.Vector_DialogExt, error)
- func (c *DialogCore) DialogGetDialogsCount(in *dialog.TLDialogGetDialogsCount) (*mtproto.Int32, error)
- func (c *DialogCore) DialogGetPinnedDialogs(in *dialog.TLDialogGetPinnedDialogs) (*dialog.Vector_DialogExt, error)
- func (c *DialogCore) DialogGetTopMessage(in *dialog.TLDialogGetTopMessage) (*mtproto.Int32, error)
- func (c *DialogCore) DialogGetUserPinnedMessage(in *dialog.TLDialogGetUserPinnedMessage) (*mtproto.Int32, error)
- func (c *DialogCore) DialogInsertOrUpdateDialog(in *dialog.TLDialogInsertOrUpdateDialog) (*mtproto.Bool, error)
- func (c *DialogCore) DialogInsertOrUpdateDialogFilter(in *dialog.TLDialogInsertOrUpdateDialogFilter) (*mtproto.Bool, error)
- func (c *DialogCore) DialogMarkDialogUnread(in *dialog.TLDialogMarkDialogUnread) (*mtproto.Bool, error)
- func (c *DialogCore) DialogReorderPinnedDialogs(in *dialog.TLDialogReorderPinnedDialogs) (*mtproto.Bool, error)
- func (c *DialogCore) DialogSaveDraftMessage(in *dialog.TLDialogSaveDraftMessage) (*mtproto.Bool, error)
- func (c *DialogCore) DialogToggleDialogPin(in *dialog.TLDialogToggleDialogPin) (*mtproto.Int32, error)
- func (c *DialogCore) DialogUpdateDialogFiltersOrder(in *dialog.TLDialogUpdateDialogFiltersOrder) (*mtproto.Bool, error)
- func (c *DialogCore) DialogUpdateReadInbox(in *dialog.TLDialogUpdateReadInbox) (*mtproto.Bool, error)
- func (c *DialogCore) DialogUpdateReadOutbox(in *dialog.TLDialogUpdateReadOutbox) (*mtproto.Bool, error)
- func (c *DialogCore) DialogUpdateUserPinnedMessage(in *dialog.TLDialogUpdateUserPinnedMessage) (*mtproto.Bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DialogCore ¶
type DialogCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, svcCtx *svc.ServiceContext) *DialogCore
func (*DialogCore) DialogClearAllDrafts ¶
func (c *DialogCore) DialogClearAllDrafts(in *dialog.TLDialogClearAllDrafts) (*dialog.Vector_PeerWithDraftMessage, error)
DialogClearAllDrafts dialog.clearAllDrafts user_id:long = Vector<PeerWithDraftMessage>;
func (*DialogCore) DialogClearDraftMessage ¶
func (c *DialogCore) DialogClearDraftMessage(in *dialog.TLDialogClearDraftMessage) (*mtproto.Bool, error)
DialogClearDraftMessage dialog.clearDraftMessage user_id:long peer_type:int peer_id:long = Bool;
func (*DialogCore) DialogDeleteDialog ¶
func (c *DialogCore) DialogDeleteDialog(in *dialog.TLDialogDeleteDialog) (*mtproto.Bool, error)
DialogDeleteDialog dialog.deleteDialog user_id:long peer_type:int peer_id:long = Bool;
func (*DialogCore) DialogDeleteDialogFilter ¶
func (c *DialogCore) DialogDeleteDialogFilter(in *dialog.TLDialogDeleteDialogFilter) (*mtproto.Bool, error)
DialogDeleteDialogFilter dialog.deleteDialogFilter user_id:long id:int = Bool;
func (*DialogCore) DialogEditPeerFolders ¶
func (c *DialogCore) DialogEditPeerFolders(in *dialog.TLDialogEditPeerFolders) (*dialog.Vector_DialogPinnedExt, error)
DialogEditPeerFolders dialog.editPeerFolders user_id:long peer_dialog_list:Vector<long> folder_id:int = Vector<DialogPinnedExt>;
func (*DialogCore) DialogGetAllDrafts ¶
func (c *DialogCore) DialogGetAllDrafts(in *dialog.TLDialogGetAllDrafts) (*dialog.Vector_PeerWithDraftMessage, error)
DialogGetAllDrafts dialog.getAllDrafts user_id:long = Vector<PeerWithDraftMessage>;
func (*DialogCore) DialogGetChannelMessageReadParticipants ¶
func (c *DialogCore) DialogGetChannelMessageReadParticipants(in *dialog.TLDialogGetChannelMessageReadParticipants) (*dialog.Vector_Long, error)
DialogGetChannelMessageReadParticipants dialog.getChannelMessageReadParticipants user_id:long channel_id:long msg_id:int = Vector<long>;
func (*DialogCore) DialogGetDialogById ¶
func (c *DialogCore) DialogGetDialogById(in *dialog.TLDialogGetDialogById) (*dialog.DialogExt, error)
DialogGetDialogById dialog.getDialogById user_id:long peer_type:int peer_id:long = DialogExt;
func (*DialogCore) DialogGetDialogFilters ¶
func (c *DialogCore) DialogGetDialogFilters(in *dialog.TLDialogGetDialogFilters) (*dialog.Vector_DialogFilterExt, error)
DialogGetDialogFilters dialog.getDialogFilters user_id:long = Vector<DialogFilterExt>;
func (*DialogCore) DialogGetDialogFolder ¶
func (c *DialogCore) DialogGetDialogFolder(in *dialog.TLDialogGetDialogFolder) (*dialog.Vector_DialogExt, error)
DialogGetDialogFolder dialog.getDialogFolder user_id:long folder_id:int = Vector<DialogExt>;
func (*DialogCore) DialogGetDialogUnreadMarkList ¶
func (c *DialogCore) DialogGetDialogUnreadMarkList(in *dialog.TLDialogGetDialogUnreadMarkList) (*dialog.Vector_DialogPeer, error)
DialogGetDialogUnreadMarkList dialog.getDialogUnreadMarkList user_id:long = Vector<DialogPeer>;
func (*DialogCore) DialogGetDialogs ¶
func (c *DialogCore) DialogGetDialogs(in *dialog.TLDialogGetDialogs) (*dialog.Vector_DialogExt, error)
DialogGetDialogs dialog.getDialogs user_id:long exclude_pinned:Bool folder_id:int = Vector<DialogExt>;
func (*DialogCore) DialogGetDialogsByIdList ¶
func (c *DialogCore) DialogGetDialogsByIdList(in *dialog.TLDialogGetDialogsByIdList) (*dialog.Vector_DialogExt, error)
DialogGetDialogsByIdList dialog.getDialogsByIdList user_id:long id_list:Vector<long> = Vector<DialogExt>;
func (*DialogCore) DialogGetDialogsByOffsetDate ¶
func (c *DialogCore) DialogGetDialogsByOffsetDate(in *dialog.TLDialogGetDialogsByOffsetDate) (*dialog.Vector_DialogExt, error)
DialogGetDialogsByOffsetDate dialog.getDialogsByOffsetDate user_id:long exclude_pinned:Bool offset_date:int limit:int = Vector<DialogExt>;
func (*DialogCore) DialogGetDialogsCount ¶
func (c *DialogCore) DialogGetDialogsCount(in *dialog.TLDialogGetDialogsCount) (*mtproto.Int32, error)
DialogGetDialogsCount dialog.getDialogsCount user_id:long exclude_pinned:Bool folder_id:int = Int32;
func (*DialogCore) DialogGetPinnedDialogs ¶
func (c *DialogCore) DialogGetPinnedDialogs(in *dialog.TLDialogGetPinnedDialogs) (*dialog.Vector_DialogExt, error)
DialogGetPinnedDialogs dialog.getPinnedDialogs user_id:long folder_id:int = Vector<DialogExt>;
func (*DialogCore) DialogGetTopMessage ¶
func (c *DialogCore) DialogGetTopMessage(in *dialog.TLDialogGetTopMessage) (*mtproto.Int32, error)
DialogGetTopMessage dialog.getTopMessage user_id:long peer_type:int peer_id:long = Int32;
func (*DialogCore) DialogGetUserPinnedMessage ¶
func (c *DialogCore) DialogGetUserPinnedMessage(in *dialog.TLDialogGetUserPinnedMessage) (*mtproto.Int32, error)
DialogGetUserPinnedMessage dialog.getUserPinnedMessage user_id:long peer_type:int peer_id:long = Int32;
func (*DialogCore) DialogInsertOrUpdateDialog ¶
func (c *DialogCore) DialogInsertOrUpdateDialog(in *dialog.TLDialogInsertOrUpdateDialog) (*mtproto.Bool, error)
DialogInsertOrUpdateDialog dialog.insertOrUpdateDialog flags:# user_id:long peer_type:int peer_id:long top_message:flags.0?int read_outbox_id:flags.1?int read_inbox_max_id:flags.2?int unread_count:flags.3?int unread_mark:flags.4?true date:int = Bool;
func (*DialogCore) DialogInsertOrUpdateDialogFilter ¶
func (c *DialogCore) DialogInsertOrUpdateDialogFilter(in *dialog.TLDialogInsertOrUpdateDialogFilter) (*mtproto.Bool, error)
DialogInsertOrUpdateDialogFilter dialog.insertOrUpdateDialogFilter user_id:long id:int dialog_filter:DialogFilter = Bool;
func (*DialogCore) DialogMarkDialogUnread ¶
func (c *DialogCore) DialogMarkDialogUnread(in *dialog.TLDialogMarkDialogUnread) (*mtproto.Bool, error)
DialogMarkDialogUnread dialog.markDialogUnread user_id:long peer_type:int peer_id:long unread_mark:Bool = Bool;
func (*DialogCore) DialogReorderPinnedDialogs ¶
func (c *DialogCore) DialogReorderPinnedDialogs(in *dialog.TLDialogReorderPinnedDialogs) (*mtproto.Bool, error)
DialogReorderPinnedDialogs dialog.reorderPinnedDialogs user_id:long force:Bool folder_id:int id_list:Vector<long> = Bool;
func (*DialogCore) DialogSaveDraftMessage ¶
func (c *DialogCore) DialogSaveDraftMessage(in *dialog.TLDialogSaveDraftMessage) (*mtproto.Bool, error)
DialogSaveDraftMessage dialog.saveDraftMessage user_id:long peer_type:int peer_id:long message:DraftMessage = Bool;
func (*DialogCore) DialogToggleDialogPin ¶
func (c *DialogCore) DialogToggleDialogPin(in *dialog.TLDialogToggleDialogPin) (*mtproto.Int32, error)
DialogToggleDialogPin dialog.toggleDialogPin user_id:long peer_type:int peer_id:long pinned:Bool = Int32;
func (*DialogCore) DialogUpdateDialogFiltersOrder ¶
func (c *DialogCore) DialogUpdateDialogFiltersOrder(in *dialog.TLDialogUpdateDialogFiltersOrder) (*mtproto.Bool, error)
DialogUpdateDialogFiltersOrder dialog.updateDialogFiltersOrder user_id:long order:Vector<long> = Bool;
func (*DialogCore) DialogUpdateReadInbox ¶
func (c *DialogCore) DialogUpdateReadInbox(in *dialog.TLDialogUpdateReadInbox) (*mtproto.Bool, error)
DialogUpdateReadInbox dialog.updateReadInbox user_id:long peer_type:int peer_id:long read_inbox_id:int = Bool;
func (*DialogCore) DialogUpdateReadOutbox ¶
func (c *DialogCore) DialogUpdateReadOutbox(in *dialog.TLDialogUpdateReadOutbox) (*mtproto.Bool, error)
DialogUpdateReadOutbox dialog.updateReadOutbox user_id:long peer_type:int peer_id:long read_outbox_id:int = Bool;
func (*DialogCore) DialogUpdateUserPinnedMessage ¶
func (c *DialogCore) DialogUpdateUserPinnedMessage(in *dialog.TLDialogUpdateUserPinnedMessage) (*mtproto.Bool, error)
DialogUpdateUserPinnedMessage dialog.updateUserPinnedMessage user_id:long peer_type:int peer_id:long pinned_msg_id:int = Bool;
Source Files ¶
- core.go
- dialog.clearAllDrafts_handler.go
- dialog.clearDraftMessage_handler.go
- dialog.deleteDialogFilter_handler.go
- dialog.deleteDialog_handler.go
- dialog.editPeerFolders_handler.go
- dialog.getAllDrafts_handler.go
- dialog.getChannelMessageReadParticipants_handler.go
- dialog.getDialogById_handler.go
- dialog.getDialogFilters_handler.go
- dialog.getDialogFolder_handler.go
- dialog.getDialogUnreadMarkList_handler.go
- dialog.getDialogsByIdList_handler.go
- dialog.getDialogsByOffsetDate_handler.go
- dialog.getDialogsCount_handler.go
- dialog.getDialogs_handler.go
- dialog.getPinnedDialogs_handler.go
- dialog.getTopMessage_handler.go
- dialog.getUserPinnedMessage_handler.go
- dialog.insertOrUpdateDialogFilter_handler.go
- dialog.insertOrUpdateDialog_handler.go
- dialog.markDialogUnread_handler.go
- dialog.reorderPinnedDialogs_handler.go
- dialog.saveDraftMessage_handler.go
- dialog.toggleDialogPin_handler.go
- dialog.updateDialogFiltersOrder_handler.go
- dialog.updateReadInbox_handler.go
- dialog.updateReadOutbox_handler.go
- dialog.updateUserPinnedMessage_handler.go