Documentation ¶
Overview ¶
Package chatv1impl contains the implementation of the chat/v1 API.
Index ¶
- type ChatV1
- func (v1 *ChatV1) AddGuildRole(_ *api.LegatoContext, _ *chatv1.AddGuildRoleRequest) (*chatv1.AddGuildRoleResponse, error)
- func (v1 *ChatV1) AddReaction(_ *api.LegatoContext, _ *chatv1.AddReactionRequest) (*chatv1.AddReactionResponse, error)
- func (v1 *ChatV1) BanUser(_ *api.LegatoContext, _ *chatv1.BanUserRequest) (*chatv1.BanUserResponse, error)
- func (v1 *ChatV1) CreateChannel(c *api.LegatoContext, req *chatv1.CreateChannelRequest) (*chatv1.CreateChannelResponse, error)
- func (v1 *ChatV1) CreateDirectMessage(_ *api.LegatoContext, _ *chatv1.CreateDirectMessageRequest) (*chatv1.CreateDirectMessageResponse, error)
- func (v1 *ChatV1) CreateGuild(c *api.LegatoContext, req *chatv1.CreateGuildRequest) (*chatv1.CreateGuildResponse, error)
- func (v1 *ChatV1) CreateInvite(_ *api.LegatoContext, _ *chatv1.CreateInviteRequest) (*chatv1.CreateInviteResponse, error)
- func (v1 *ChatV1) CreateRoom(_ *api.LegatoContext, _ *chatv1.CreateRoomRequest) (*chatv1.CreateRoomResponse, error)
- func (v1 *ChatV1) DeleteChannel(_ *api.LegatoContext, _ *chatv1.DeleteChannelRequest) (*chatv1.DeleteChannelResponse, error)
- func (v1 *ChatV1) DeleteGuild(_ *api.LegatoContext, _ *chatv1.DeleteGuildRequest) (*chatv1.DeleteGuildResponse, error)
- func (v1 *ChatV1) DeleteGuildRole(_ *api.LegatoContext, _ *chatv1.DeleteGuildRoleRequest) (*chatv1.DeleteGuildRoleResponse, error)
- func (v1 *ChatV1) DeleteInvite(_ *api.LegatoContext, _ *chatv1.DeleteInviteRequest) (*chatv1.DeleteInviteResponse, error)
- func (v1 *ChatV1) DeleteMessage(_ *api.LegatoContext, _ *chatv1.DeleteMessageRequest) (*chatv1.DeleteMessageResponse, error)
- func (v1 *ChatV1) GetBannedUsers(_ *api.LegatoContext, _ *chatv1.GetBannedUsersRequest) (*chatv1.GetBannedUsersResponse, error)
- func (v1 *ChatV1) GetChannelMessages(_ *api.LegatoContext, _ *chatv1.GetChannelMessagesRequest) (*chatv1.GetChannelMessagesResponse, error)
- func (v1 *ChatV1) GetGuild(c *api.LegatoContext, req *chatv1.GetGuildRequest) (*chatv1.GetGuildResponse, error)
- func (v1 *ChatV1) GetGuildChannels(c *api.LegatoContext, req *chatv1.GetGuildChannelsRequest) (*chatv1.GetGuildChannelsResponse, error)
- func (v1 *ChatV1) GetGuildInvites(_ *api.LegatoContext, _ *chatv1.GetGuildInvitesRequest) (*chatv1.GetGuildInvitesResponse, error)
- func (v1 *ChatV1) GetGuildList(c *api.LegatoContext, _ *chatv1.GetGuildListRequest) (*chatv1.GetGuildListResponse, error)
- func (v1 *ChatV1) GetGuildMembers(c *api.LegatoContext, req *chatv1.GetGuildMembersRequest) (*chatv1.GetGuildMembersResponse, error)
- func (v1 *ChatV1) GetGuildRoles(_ *api.LegatoContext, _ *chatv1.GetGuildRolesRequest) (*chatv1.GetGuildRolesResponse, error)
- func (v1 *ChatV1) GetMessage(_ *api.LegatoContext, _ *chatv1.GetMessageRequest) (*chatv1.GetMessageResponse, error)
- func (v1 *ChatV1) GetPendingInvites(_ *api.LegatoContext, _ *chatv1.GetPendingInvitesRequest) (*chatv1.GetPendingInvitesResponse, error)
- func (v1 *ChatV1) GetPermissions(_ *api.LegatoContext, _ *chatv1.GetPermissionsRequest) (*chatv1.GetPermissionsResponse, error)
- func (v1 *ChatV1) GetPinnedMessages(_ *api.LegatoContext, _ *chatv1.GetPinnedMessagesRequest) (*chatv1.GetPinnedMessagesResponse, error)
- func (v1 *ChatV1) GetUserRoles(_ *api.LegatoContext, _ *chatv1.GetUserRolesRequest) (*chatv1.GetUserRolesResponse, error)
- func (v1 *ChatV1) GiveUpOwnership(_ *api.LegatoContext, _ *chatv1.GiveUpOwnershipRequest) (*chatv1.GiveUpOwnershipResponse, error)
- func (v1 *ChatV1) GrantOwnership(_ *api.LegatoContext, _ *chatv1.GrantOwnershipRequest) (*chatv1.GrantOwnershipResponse, error)
- func (v1 *ChatV1) HasPermission(_ *api.LegatoContext, _ *chatv1.HasPermissionRequest) (*chatv1.HasPermissionResponse, error)
- func (v1 *ChatV1) IgnorePendingInvite(_ *api.LegatoContext, _ *chatv1.IgnorePendingInviteRequest) (*chatv1.IgnorePendingInviteResponse, error)
- func (v1 *ChatV1) InviteUserToGuild(_ *api.LegatoContext, _ *chatv1.InviteUserToGuildRequest) (*chatv1.InviteUserToGuildResponse, error)
- func (v1 *ChatV1) JoinGuild(_ *api.LegatoContext, _ *chatv1.JoinGuildRequest) (*chatv1.JoinGuildResponse, error)
- func (v1 *ChatV1) KickUser(_ *api.LegatoContext, _ *chatv1.KickUserRequest) (*chatv1.KickUserResponse, error)
- func (v1 *ChatV1) LeaveGuild(c *api.LegatoContext, req *chatv1.LeaveGuildRequest) (*chatv1.LeaveGuildResponse, error)
- func (v1 *ChatV1) ManageUserRoles(_ *api.LegatoContext, _ *chatv1.ManageUserRolesRequest) (*chatv1.ManageUserRolesResponse, error)
- func (v1 *ChatV1) ModifyGuildRole(_ *api.LegatoContext, _ *chatv1.ModifyGuildRoleRequest) (*chatv1.ModifyGuildRoleResponse, error)
- func (v1 *ChatV1) MoveRole(_ *api.LegatoContext, _ *chatv1.MoveRoleRequest) (*chatv1.MoveRoleResponse, error)
- func (v1 *ChatV1) PinMessage(_ *api.LegatoContext, _ *chatv1.PinMessageRequest) (*chatv1.PinMessageResponse, error)
- func (v1 *ChatV1) PreviewGuild(_ *api.LegatoContext, _ *chatv1.PreviewGuildRequest) (*chatv1.PreviewGuildResponse, error)
- func (v1 *ChatV1) RejectPendingInvite(_ *api.LegatoContext, _ *chatv1.RejectPendingInviteRequest) (*chatv1.RejectPendingInviteResponse, error)
- func (v1 *ChatV1) RemoveReaction(_ *api.LegatoContext, _ *chatv1.RemoveReactionRequest) (*chatv1.RemoveReactionResponse, error)
- func (v1 *ChatV1) SendMessage(_ *api.LegatoContext, _ *chatv1.SendMessageRequest) (*chatv1.SendMessageResponse, error)
- func (v1 *ChatV1) SetPermissions(_ *api.LegatoContext, _ *chatv1.SetPermissionsRequest) (*chatv1.SetPermissionsResponse, error)
- func (v1 *ChatV1) StreamEvents(c *api.LegatoContext, reqs chan *chatv1.StreamEventsRequest, ...) error
- func (v1 *ChatV1) TriggerAction(_ *api.LegatoContext, _ *chatv1.TriggerActionRequest) (*chatv1.TriggerActionResponse, error)
- func (v1 *ChatV1) Typing(_ *api.LegatoContext, _ *chatv1.TypingRequest) (*chatv1.TypingResponse, error)
- func (v1 *ChatV1) UnbanUser(_ *api.LegatoContext, _ *chatv1.UnbanUserRequest) (*chatv1.UnbanUserResponse, error)
- func (v1 *ChatV1) UnpinMessage(_ *api.LegatoContext, _ *chatv1.UnpinMessageRequest) (*chatv1.UnpinMessageResponse, error)
- func (v1 *ChatV1) UpdateAllChannelOrder(_ *api.LegatoContext, _ *chatv1.UpdateAllChannelOrderRequest) (*chatv1.UpdateAllChannelOrderResponse, error)
- func (v1 *ChatV1) UpdateChannelInformation(_ *api.LegatoContext, _ *chatv1.UpdateChannelInformationRequest) (*chatv1.UpdateChannelInformationResponse, error)
- func (v1 *ChatV1) UpdateChannelOrder(_ *api.LegatoContext, _ *chatv1.UpdateChannelOrderRequest) (*chatv1.UpdateChannelOrderResponse, error)
- func (v1 *ChatV1) UpdateGuildInformation(_ *api.LegatoContext, _ *chatv1.UpdateGuildInformationRequest) (*chatv1.UpdateGuildInformationResponse, error)
- func (v1 *ChatV1) UpdateMessageContent(_ *api.LegatoContext, _ *chatv1.UpdateMessageContentRequest) (*chatv1.UpdateMessageContentResponse, error)
- func (v1 *ChatV1) UpgradeRoomToGuild(_ *api.LegatoContext, _ *chatv1.UpgradeRoomToGuildRequest) (*chatv1.UpgradeRoomToGuildResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatV1 ¶
type ChatV1 struct {
// contains filtered or unexported fields
}
func (*ChatV1) AddGuildRole ¶
func (v1 *ChatV1) AddGuildRole(_ *api.LegatoContext, _ *chatv1.AddGuildRoleRequest) (*chatv1.AddGuildRoleResponse, error)
func (*ChatV1) AddReaction ¶
func (v1 *ChatV1) AddReaction(_ *api.LegatoContext, _ *chatv1.AddReactionRequest) (*chatv1.AddReactionResponse, error)
func (*ChatV1) BanUser ¶
func (v1 *ChatV1) BanUser(_ *api.LegatoContext, _ *chatv1.BanUserRequest) (*chatv1.BanUserResponse, error)
func (*ChatV1) CreateChannel ¶
func (v1 *ChatV1) CreateChannel(c *api.LegatoContext, req *chatv1.CreateChannelRequest) (*chatv1.CreateChannelResponse, error)
func (*ChatV1) CreateDirectMessage ¶
func (v1 *ChatV1) CreateDirectMessage(_ *api.LegatoContext, _ *chatv1.CreateDirectMessageRequest) (*chatv1.CreateDirectMessageResponse, error)
func (*ChatV1) CreateGuild ¶
func (v1 *ChatV1) CreateGuild(c *api.LegatoContext, req *chatv1.CreateGuildRequest) (*chatv1.CreateGuildResponse, error)
func (*ChatV1) CreateInvite ¶
func (v1 *ChatV1) CreateInvite(_ *api.LegatoContext, _ *chatv1.CreateInviteRequest) (*chatv1.CreateInviteResponse, error)
func (*ChatV1) CreateRoom ¶
func (v1 *ChatV1) CreateRoom(_ *api.LegatoContext, _ *chatv1.CreateRoomRequest) (*chatv1.CreateRoomResponse, error)
func (*ChatV1) DeleteChannel ¶
func (v1 *ChatV1) DeleteChannel(_ *api.LegatoContext, _ *chatv1.DeleteChannelRequest) (*chatv1.DeleteChannelResponse, error)
func (*ChatV1) DeleteGuild ¶
func (v1 *ChatV1) DeleteGuild(_ *api.LegatoContext, _ *chatv1.DeleteGuildRequest) (*chatv1.DeleteGuildResponse, error)
func (*ChatV1) DeleteGuildRole ¶
func (v1 *ChatV1) DeleteGuildRole(_ *api.LegatoContext, _ *chatv1.DeleteGuildRoleRequest) (*chatv1.DeleteGuildRoleResponse, error)
func (*ChatV1) DeleteInvite ¶
func (v1 *ChatV1) DeleteInvite(_ *api.LegatoContext, _ *chatv1.DeleteInviteRequest) (*chatv1.DeleteInviteResponse, error)
func (*ChatV1) DeleteMessage ¶
func (v1 *ChatV1) DeleteMessage(_ *api.LegatoContext, _ *chatv1.DeleteMessageRequest) (*chatv1.DeleteMessageResponse, error)
func (*ChatV1) GetBannedUsers ¶
func (v1 *ChatV1) GetBannedUsers(_ *api.LegatoContext, _ *chatv1.GetBannedUsersRequest) (*chatv1.GetBannedUsersResponse, error)
func (*ChatV1) GetChannelMessages ¶
func (v1 *ChatV1) GetChannelMessages(_ *api.LegatoContext, _ *chatv1.GetChannelMessagesRequest) (*chatv1.GetChannelMessagesResponse, error)
func (*ChatV1) GetGuild ¶
func (v1 *ChatV1) GetGuild(c *api.LegatoContext, req *chatv1.GetGuildRequest) (*chatv1.GetGuildResponse, error)
func (*ChatV1) GetGuildChannels ¶
func (v1 *ChatV1) GetGuildChannels(c *api.LegatoContext, req *chatv1.GetGuildChannelsRequest) (*chatv1.GetGuildChannelsResponse, error)
func (*ChatV1) GetGuildInvites ¶
func (v1 *ChatV1) GetGuildInvites(_ *api.LegatoContext, _ *chatv1.GetGuildInvitesRequest) (*chatv1.GetGuildInvitesResponse, error)
func (*ChatV1) GetGuildList ¶
func (v1 *ChatV1) GetGuildList(c *api.LegatoContext, _ *chatv1.GetGuildListRequest) (*chatv1.GetGuildListResponse, error)
func (*ChatV1) GetGuildMembers ¶
func (v1 *ChatV1) GetGuildMembers(c *api.LegatoContext, req *chatv1.GetGuildMembersRequest) (*chatv1.GetGuildMembersResponse, error)
func (*ChatV1) GetGuildRoles ¶
func (v1 *ChatV1) GetGuildRoles(_ *api.LegatoContext, _ *chatv1.GetGuildRolesRequest) (*chatv1.GetGuildRolesResponse, error)
func (*ChatV1) GetMessage ¶
func (v1 *ChatV1) GetMessage(_ *api.LegatoContext, _ *chatv1.GetMessageRequest) (*chatv1.GetMessageResponse, error)
func (*ChatV1) GetPendingInvites ¶
func (v1 *ChatV1) GetPendingInvites(_ *api.LegatoContext, _ *chatv1.GetPendingInvitesRequest) (*chatv1.GetPendingInvitesResponse, error)
func (*ChatV1) GetPermissions ¶
func (v1 *ChatV1) GetPermissions(_ *api.LegatoContext, _ *chatv1.GetPermissionsRequest) (*chatv1.GetPermissionsResponse, error)
func (*ChatV1) GetPinnedMessages ¶
func (v1 *ChatV1) GetPinnedMessages(_ *api.LegatoContext, _ *chatv1.GetPinnedMessagesRequest) (*chatv1.GetPinnedMessagesResponse, error)
func (*ChatV1) GetUserRoles ¶
func (v1 *ChatV1) GetUserRoles(_ *api.LegatoContext, _ *chatv1.GetUserRolesRequest) (*chatv1.GetUserRolesResponse, error)
func (*ChatV1) GiveUpOwnership ¶
func (v1 *ChatV1) GiveUpOwnership(_ *api.LegatoContext, _ *chatv1.GiveUpOwnershipRequest) (*chatv1.GiveUpOwnershipResponse, error)
func (*ChatV1) GrantOwnership ¶
func (v1 *ChatV1) GrantOwnership(_ *api.LegatoContext, _ *chatv1.GrantOwnershipRequest) (*chatv1.GrantOwnershipResponse, error)
func (*ChatV1) HasPermission ¶
func (v1 *ChatV1) HasPermission(_ *api.LegatoContext, _ *chatv1.HasPermissionRequest) (*chatv1.HasPermissionResponse, error)
func (*ChatV1) IgnorePendingInvite ¶
func (v1 *ChatV1) IgnorePendingInvite(_ *api.LegatoContext, _ *chatv1.IgnorePendingInviteRequest) (*chatv1.IgnorePendingInviteResponse, error)
func (*ChatV1) InviteUserToGuild ¶
func (v1 *ChatV1) InviteUserToGuild(_ *api.LegatoContext, _ *chatv1.InviteUserToGuildRequest) (*chatv1.InviteUserToGuildResponse, error)
func (*ChatV1) JoinGuild ¶
func (v1 *ChatV1) JoinGuild(_ *api.LegatoContext, _ *chatv1.JoinGuildRequest) (*chatv1.JoinGuildResponse, error)
func (*ChatV1) KickUser ¶
func (v1 *ChatV1) KickUser(_ *api.LegatoContext, _ *chatv1.KickUserRequest) (*chatv1.KickUserResponse, error)
func (*ChatV1) LeaveGuild ¶
func (v1 *ChatV1) LeaveGuild(c *api.LegatoContext, req *chatv1.LeaveGuildRequest) (*chatv1.LeaveGuildResponse, error)
func (*ChatV1) ManageUserRoles ¶
func (v1 *ChatV1) ManageUserRoles(_ *api.LegatoContext, _ *chatv1.ManageUserRolesRequest) (*chatv1.ManageUserRolesResponse, error)
func (*ChatV1) ModifyGuildRole ¶
func (v1 *ChatV1) ModifyGuildRole(_ *api.LegatoContext, _ *chatv1.ModifyGuildRoleRequest) (*chatv1.ModifyGuildRoleResponse, error)
func (*ChatV1) MoveRole ¶
func (v1 *ChatV1) MoveRole(_ *api.LegatoContext, _ *chatv1.MoveRoleRequest) (*chatv1.MoveRoleResponse, error)
func (*ChatV1) PinMessage ¶
func (v1 *ChatV1) PinMessage(_ *api.LegatoContext, _ *chatv1.PinMessageRequest) (*chatv1.PinMessageResponse, error)
func (*ChatV1) PreviewGuild ¶
func (v1 *ChatV1) PreviewGuild(_ *api.LegatoContext, _ *chatv1.PreviewGuildRequest) (*chatv1.PreviewGuildResponse, error)
func (*ChatV1) RejectPendingInvite ¶
func (v1 *ChatV1) RejectPendingInvite(_ *api.LegatoContext, _ *chatv1.RejectPendingInviteRequest) (*chatv1.RejectPendingInviteResponse, error)
func (*ChatV1) RemoveReaction ¶
func (v1 *ChatV1) RemoveReaction(_ *api.LegatoContext, _ *chatv1.RemoveReactionRequest) (*chatv1.RemoveReactionResponse, error)
func (*ChatV1) SendMessage ¶
func (v1 *ChatV1) SendMessage(_ *api.LegatoContext, _ *chatv1.SendMessageRequest) (*chatv1.SendMessageResponse, error)
func (*ChatV1) SetPermissions ¶
func (v1 *ChatV1) SetPermissions(_ *api.LegatoContext, _ *chatv1.SetPermissionsRequest) (*chatv1.SetPermissionsResponse, error)
func (*ChatV1) StreamEvents ¶
func (v1 *ChatV1) StreamEvents(c *api.LegatoContext, reqs chan *chatv1.StreamEventsRequest, resp chan *chatv1.StreamEventsResponse) error
func (*ChatV1) TriggerAction ¶
func (v1 *ChatV1) TriggerAction(_ *api.LegatoContext, _ *chatv1.TriggerActionRequest) (*chatv1.TriggerActionResponse, error)
func (*ChatV1) Typing ¶
func (v1 *ChatV1) Typing(_ *api.LegatoContext, _ *chatv1.TypingRequest) (*chatv1.TypingResponse, error)
func (*ChatV1) UnbanUser ¶
func (v1 *ChatV1) UnbanUser(_ *api.LegatoContext, _ *chatv1.UnbanUserRequest) (*chatv1.UnbanUserResponse, error)
func (*ChatV1) UnpinMessage ¶
func (v1 *ChatV1) UnpinMessage(_ *api.LegatoContext, _ *chatv1.UnpinMessageRequest) (*chatv1.UnpinMessageResponse, error)
func (*ChatV1) UpdateAllChannelOrder ¶
func (v1 *ChatV1) UpdateAllChannelOrder(_ *api.LegatoContext, _ *chatv1.UpdateAllChannelOrderRequest) (*chatv1.UpdateAllChannelOrderResponse, error)
func (*ChatV1) UpdateChannelInformation ¶
func (v1 *ChatV1) UpdateChannelInformation(_ *api.LegatoContext, _ *chatv1.UpdateChannelInformationRequest) (*chatv1.UpdateChannelInformationResponse, error)
func (*ChatV1) UpdateChannelOrder ¶
func (v1 *ChatV1) UpdateChannelOrder(_ *api.LegatoContext, _ *chatv1.UpdateChannelOrderRequest) (*chatv1.UpdateChannelOrderResponse, error)
func (*ChatV1) UpdateGuildInformation ¶
func (v1 *ChatV1) UpdateGuildInformation(_ *api.LegatoContext, _ *chatv1.UpdateGuildInformationRequest) (*chatv1.UpdateGuildInformationResponse, error)
func (*ChatV1) UpdateMessageContent ¶
func (v1 *ChatV1) UpdateMessageContent(_ *api.LegatoContext, _ *chatv1.UpdateMessageContentRequest) (*chatv1.UpdateMessageContentResponse, error)
func (*ChatV1) UpgradeRoomToGuild ¶
func (v1 *ChatV1) UpgradeRoomToGuild(_ *api.LegatoContext, _ *chatv1.UpgradeRoomToGuildRequest) (*chatv1.UpgradeRoomToGuildResponse, error)
Click to show internal directories.
Click to hide internal directories.