'Sending Custom Token as Dividend

how can i send a custom Token as Dividend with event SendDividends(uint256 tokenAmount, uint256 bnbAmount); but like token instead of bnbAmount



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source