forwarded_to

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New() *Service

func (*Service) Add

func (s *Service) Add(forwardedTo map[int64]bool, dstChatId int64) bool

Add добавляет чат в forwardedTo, если он еще не добавлен

func (*Service) Init

func (s *Service) Init(forwardedTo map[int64]bool, dstChatIds []int64)

Init инициализирует forwardedTo для новых чатов

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL