Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLastBlock ¶
func GetMongoClient ¶
func SaveTelegramChannel ¶
func SaveTelegramChannel(channel TelegramChannel) error
Types ¶
type TelegramChannel ¶
type TelegramChannel struct { ID primitive.ObjectID `bson:"_id"` ChannelID int64 `bson:"channel_id"` Title string `bson:"title"` UserName string `bson:"username"` Description string `bson:"description"` CreatedAt time.Time `bson:"created_at"` BlockID uint32 `bson:"block_id"` }
func GetTelegramChannel ¶
func GetTelegramChannel(channelID int64) (TelegramChannel, error)
Click to show internal directories.
Click to hide internal directories.