Versions in this module Expand all Collapse all v1 v1.0.4 Dec 15, 2022 v1.0.3 Dec 3, 2022 v1.0.2 Nov 29, 2022 v1.0.1 Nov 20, 2022 v1.0.0 Nov 19, 2022 Changes in this version + const AddWebPagePreviews + const AdminRole + const BeEdited + const ChangeInfo + const Channel + const DeleteMessages + const EditMessages + const Facebook + const GitHub + const Google + const Group + const InviteUsers + const Linkedin + const ManageChat + const ManageVoiceChats + const PinMessages + const PostMessages + const Private + const PromoteMembers + const RestrictMembers + const SendMediaMessages + const SendMessages + const SendOtherMessages + const SendPolls + const SuperGroup + const UserRole + type Feed struct + By int64 + CreatedAt time.Time + Enabled *bool + Host string + Id string + Languages []string + Link string + Title string + UpdatedAt time.Time + func (r *Feed) SetEnabled(enabled bool) *Feed + func (r *Feed) SetLink(link string) *Feed + type FeedItem struct + Authors []string + Categories []string + CreatedAt time.Time + Desc *string + FeedId string + Guid string + Id string + Link string + PubDate time.Time + Title string + UpdatedAt time.Time + func (i *FeedItem) Domain() string + func (i *FeedItem) SetDesc(desc string) *FeedItem + type Provider string + type ProviderData struct + Delete bool + Name Provider + Value string + func (p *ProviderData) Is(provider Provider) bool + type Role string + type Room struct + Broadcast *[]string + CreatedAt time.Time + Deleted *bool + FirstName string + Id int64 + LastName string + Permissions *[]RoomPermission + Title string + Type RoomType + UpdatedAt time.Time + UserName string + func (r *Room) IsDeleted() bool + func (r *Room) SetBroadcast(broadcast []string) *Room + func (r *Room) SetDeleted(deleted bool) *Room + func (r *Room) SetPermissions(permissions []RoomPermission) *Room + type RoomPermission string + type RoomType string + type User struct + CreatedAt time.Time + DeleteRoles []Role + Email string + Id string + OTPSecret []byte + Password string + Providers []ProviderData + Roles []Role + UpdatedAt time.Time + Username string + func (u *User) CheckPassword(password string) error + func (u *User) CheckTOTP(password string) error + func (u *User) GenerateOTPSecret(size uint) (err error) + func (u *User) GeneratePasswordHash() error + func (u *User) HasPassword() bool + func (u *User) HasProvider(provider Provider) bool + func (u *User) IsGranted(roles ...Role) bool + func (u *User) Secret() string v1.0.0-beta9 Nov 9, 2022 v1.0.0-beta8 Nov 9, 2022 v1.0.0-beta7 Nov 9, 2022 v1.0.0-beta6 Nov 8, 2022 v1.0.0-beta5 Nov 8, 2022 v1.0.0-beta4 Nov 8, 2022 v1.0.0-beta3 Nov 8, 2022 v1.0.0-beta2 Nov 5, 2022 v1.0.0-beta10 Nov 14, 2022 v1.0.0-beta1 Nov 4, 2022 v1.0.0-alpha8 Nov 3, 2022 v1.0.0-alpha7 Nov 3, 2022 v1.0.0-alpha6 Nov 2, 2022 v1.0.0-alpha5 Oct 14, 2022 v1.0.0-alpha4 Oct 13, 2022